May 28, 2023 How to make a program start from 0000 Code peter If you want to print from 0000 to 9999 try #If not python3 uncomment line below #from __future__ import print_function for i in range(10000): print("{:04d}".format(i))