import random
li = []
for i in range(8):
r = random.randrange(0,5)
print(r)
if r == 2 or r == 4:
num = random.randrange(0,10)
li.append(str(num))
else:
temp = random.randrange(65,123)
char = chr(temp)
li.append(char)
print(li)
result = ''.join(li)
print(result)
Copyright © 2009-2022 www.wtcwzsj.com 青羊区广皓图文设计工作室(个体工商户) 版权所有 蜀ICP备19037934号