Q27
What will be the output of the following Python code? '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'
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board