Q.

What is the output of the following program : print '{0:.2}'.format(1.0 / 3)

A. 0.333333
B. 0.33
C. 0.333333:-2
D. Error
Answer» B. 0.33
2k
0
Do you find this helpful?
19

View all MCQs in

Python Programming

Discussion

No comments yet