十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
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)