python生成1-999随机数 指定个数

import random mydict={} c=0 while len(mydict.keys()) <100:     mydict["6102009%03d"%(random.randint(1,100))]="redhat" print("account    password") for i,j in mydict.items():     print(i,j) account={}.
相关文章
相关标签/搜索