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={}.
相關文章
相關標籤/搜索