python&随机验证码
improt random
code = ''
for j in range(4):
num = str(random.randint(0, 9))
st = chr(random.randint(65, 90))
code += random.choice([num, st])
print(code)
    最是秋雨悲凉,
多少落叶黄。
三十余载春秋梦,回首成过往。
静思量,向前方,莫待白头空沧桑。
improt random
code = ''
for j in range(4):
num = str(random.randint(0, 9))
st = chr(random.randint(65, 90))
code += random.choice([num, st])
print(code)