6行代碼生成所有6位數字密碼字典

# -*- coding: utf-8 -*- #生成所有的六位數字密碼 f = open('passdict6.txt','w') for id in range(1000000): password = str(id).zfill(6)+'\n' f.write(password) f.close()很簡單吧 ^-^
相關文章
相關標籤/搜索