摘要: import numpy as np In array1=np.array(range(6))Out [0 1 2 3 4 5] In array1.shapeOut (6,) In array.shape=2,3Out [[0 1 2] [3 4 5]] In array2=array1.resh 阅读全文
posted @ 2021-02-18 13:35 我的博客2021 阅读(64) 评论(0) 推荐(0)
摘要: 显示2016年2月份的日历print(calendar.month(2016,2)) 2016年为闰年In calendar.isleap(2016)OUt True 当前时间戳In time.time()OUt 145526477.661747 阅读全文
posted @ 2021-02-18 08:58 我的博客2021 阅读(55) 评论(0) 推荐(0)