标签:style class blog code color get
import string import random def get_rand(n): allw = string.letters+string.digits r = [] for i in range(n): r.append(random.choice(allw)) return ‘‘.join(r) for i in range(4): print get_rand(8)
标签:style class blog code color get
原文地址:http://www.cnblogs.com/huangxiaohen/p/3804999.html