SAMPLE INPUT
SAMPLE OUTPUT
001002003004005006007008009010011012013014015016017018019020021022023024025
Solution
for x in range(26):
if len(str(x))==1 and x!=0:
print (str(0)+str(00)+str(x),end='')
elif x!=0 :
print(str(0)+str(x),end='')
if you have any problem in this code, take a screenshot and contact with Rishabh Chaubey.
Post a Comment