摘要:
import random def lottery(): result = [] for i in range(0,6): red = random.randint(1, 33) result.append(red) blue = random.randint(1, 16) result.appen 阅读全文
摘要:
# -*- coding:utf-8 def a_new_decorator(a_func): def wrapTheFunction(): print("I am doing some boring work before executing a_func()") a_func() print(" 阅读全文