python 1 to 10 loop for i in range 11 code example
Example: python for loop in range 01 02
>>> for i in range(1, 18):
... str(i).zfill(2)
...
'01'
'02'
'03'
...
'16'
'17'
>>> for i in range(1, 18):
... str(i).zfill(2)
...
'01'
'02'
'03'
...
'16'
'17'