Given:
a = 1 b = 10 c = 100
How do I display a leading zero for all numbers with less than two digits?
This is the output I\'m expe
If dealing with numbers that are either one or two digits:
'0'+str(number)[-2:] or '0{0}'.format(number)[-2:]
'0'+str(number)[-2:]
'0{0}'.format(number)[-2:]