标签:== join class end lse for code else import
import random
li=[]
for i in range(6):
r=random.randrange(0,6)
if r==3 or r==5:
num=random.randrange(1,10)
li.append(str(num))
else:
temp = random.randrange(65, 91)
c = chr(temp)
li.append(c)
result = "".join(li)
print(result)
标签:== join class end lse for code else import
原文地址:https://www.cnblogs.com/spencersun/p/9193597.html