摘要: Get the next random number in the range [0.0, 1.0) 取0到1直接的随机浮点数 import random print(random.random()) C:\python35\python3.exe D:/pyproject/day21模块/rand 阅读全文
posted @ 2018-06-09 18:16 gouguoqi 阅读(756) 评论(0) 推荐(0) 编辑
摘要: time内置模块的方法 1、time() 时间戳 time() -> floating point number 浮点数 Return the current time in seconds since the Epoch. Fractions of a second may be present 阅读全文
posted @ 2018-06-09 15:54 gouguoqi 阅读(1987) 评论(0) 推荐(0) 编辑