Home / Programming MCQs / Python MCQs / Question

R

Ram Sharma • 178.09K Points
Coach

Q. What is the output of the following program :

Code:
print '{0:.2}'.format(1.0 / 3)
(A) 0.333333
(B) 0.33
(C) 0.333333:
(D) Error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.