我使用的是箱號碼,然後創建一個這樣使用Python創建範圍000〜999
bin = "377731"
range(00000, 99999)
for i in range(len(bin)):
target = open('{0}.txt'.format(bin), 'a') ## a will append, w will over-wri$
target.write("{0}{1}000".format(bin,i) + "\n")
target.close()
問題編號列表,Python的顯示列表這樣
編寫Python代碼3777311000
,我需要它把它寫這樣的
也達到數5
任何幫助後腳本停止?
感謝