摘要:
import random #!小数 xiaoshu = random.random() print(xiaoshu) #0.5252448234552544 zhengshu = random.randint(1,19) print(zhengshu) #7 zhengshu2 = random. 阅读全文
posted @ 2021-01-16 16:27
心无垠
阅读(66)
评论(0)
推荐(0)
摘要:
''' 时间的三种表现方式 1.时间戳:给电脑看的 time.time() 从1970年到现在的秒数 2.格式化时间 : 给人看的 2019-09-12 13:45:32 time.strftime('%Y-%m-%d %X') 3.结构化时间 :做计算用的 '''import time s = t 阅读全文
posted @ 2021-01-16 16:10
心无垠
阅读(119)
评论(0)
推荐(0)

浙公网安备 33010602011771号