Convert a single digit number into a double digits string in Python April 8, 2020 >>> print '{0}'.format('5'.zfill(2)) 05 References https://stackoverflow.com/questions/3505831/in-python-how-do-i-convert-a-single-digit-number-into-a-double-digits-string Related