0埋めするときはこんな感じ
for i in range(100): print('{:03}'.format(i)) 000 001 002 003 004 ・ ・ ・ 012 013 ・ ・ ・ 098 099