numbers = []
for num in range(1000):
  num=str(num).zfill(3)
print(num)
numbers.append(num)

output:-

999

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post