Python random模块常用方法 复制代码 代码如下: import random print random random() 获取一个小于1的浮点数 复制代码 代码如下: impo python编程 2022-04-09 220 点赞 3 评论 333 浏览