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

浙公网安备 33010602011771号