print('正在生成验证码,请稍后...') import time time.sleep(1) st='0123456789abcdefghijklmnopqistuvwxyzABCDEFGHIJKLMNOPQISTUVWXYZ' import random x=random.randint(0,62) y=random.randint(0,62) z=random.randint(0,62) m=random.randint(0,62) #print(st[x],st[y],st[z],st[m]) print('验证码为:',st[x:(x+1):1],st[y:(y+1):1],st