摘要:
import time print (time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())) print (time.strftime("%a %b %d %H:%M:%S %Y", time.localtime())) a = "Sat Mar 28 22:24:24 2016" print (time.mktime(time.s... 阅读全文
posted @ 2018-10-22 11:38
陈松林
阅读(164)
评论(0)
推荐(0)
摘要:
#用列表+循环实现,并包装成函数 def Godo(n): a = list(range(n)) b = list(range(0,10*n,10)) c = [] for i in range(len(a)): c.append(a[i]**2+b[i]**3) return (c) print( 阅读全文
posted @ 2018-10-22 10:59
陈松林
阅读(76)
评论(0)
推荐(0)
浙公网安备 33010602011771号