convert number to formatted string in python with prefix 0s - Get link Facebook X Pinterest Email Other Apps - May 15, 2011 i want convert number in python 3 character string, prefix 0s. example: 8 = "008" 12 = "012" 6 = "006" thanks just use: format(number, '03') Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment