How do I format a floating number to a fixed width with the following requirements:
See Python 3.x format string syntax:
IDLE 3.5.1 numbers = ['23.23', '.1233', '1', '4.223', '9887.2'] for x in numbers: print('{0: >#016.4f}'. format(float(x))) 23.2300 0.1233 1.0000 4.2230 9887.2000