format print in python 3 with 00 code example Example: python integer to string format '{:d}'.format(42)