Q68
What will be the output of the following Python code? '0:.2f'.format(1.234)
A.
'1'
B.
'1.234'
C.
'1.23'
AnswerD.
'1.2'
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board