S

Shivam • 8.86K Points
Tutor III

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:-2
  • (D) Error
  • Correct Answer - Option(B)
  • Views: 124
  • Filed under category Python

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.

Be the first to start discuss.


Question analytics