摘要:
import random def red_packet(money, num): money = money * 100 ret = random.sample(range(1, money), num - 1) ret.append(0) ret.append(money) ret.sort() 阅读全文
摘要:
import string import random import timeit from timeit import Timer def random_string(length=16): rule = string.ascii_letters + string.digits char_list 阅读全文