Python random random() 方法
-
定义和用法
random()方法返回0到1之间的随机浮点数。 -
实例
返回0.0到1.0之间的随机数:尝试一下 -
语法
-
参数
<参数 必需的 描述 无