标签:alt format nop bcd random imp 技术分享 orm blog
import random
char = ‘‘
str = ‘ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789‘
for j in range(10):
for i in range(8):
char += str[random.randint(0,61)]
print("第{}次的随机密码是:{}".format(j+1,char))
char = ‘‘
运行结果:
标签:alt format nop bcd random imp 技术分享 orm blog
原文地址:http://www.cnblogs.com/LMIx/p/6820260.html