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