import random
'''
引入random模块,
'''
checkcode = ''
for i in range(4):
current = random.randrange(0, 4)
if current != 1:
temp = chr(random.randint(65, 100))
else:
temp = random.randint(0, 9)
checkcode += str(temp)
print(checkcode)
浙公网安备 33010602011771号