What will be the output of the following Python code?
'{0:f}, {1:2f}, {2:05.2f}'.format(1.23456, 1.23456, 1.23456)
'{0:f}, {1:2f}, {2:05.2f}'.format(1.23456, 1.23456, 1.23456)A. Error
B. '1.234560, 1.22345, 1.23'
C. No output
D. '1.234560, 1.234560, 01.23'
Answer: Option D

Join The Discussion