摘要:
1 def add(x,y): 2 print(x+y) 3 #return x+y 4 x = [1,2,3] 5 y = [4,5,6] 6 print('type(zip(x,y)):',type(zip(x,y)))#zip class 7 print('for i,j in zip(x,y 阅读全文
posted @ 2020-05-30 19:52
凤鸣朝阳水龙吟
阅读(225)
评论(0)
推荐(0)
摘要:
装饰器例子: 1 import time 2 3 def math_type(type = ''): 4 def decorator_time(math_closure): 5 def new_func(*args, **argss): 6 print(type) 7 start = time.ti 阅读全文
posted @ 2020-05-30 17:15
凤鸣朝阳水龙吟
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号