Vidyalelo
Python · Q61

MCQs for Python Strings: Exam

Programming · Python · question 61

Q61

What will be the output of the following Python code? print('0:.2'.format(1/3))

A.
0.333333
B.
0.33
Answer
C.
0.333333:.2
D.
Error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board