A

Admin • 828.03K Points
Coach

Q. What is the output of the following program? from math import *
a = 2.13
b = 3.7777
c = -3.12
print(int(a), floor(b), ceil(c), fabs(c))

  • (A) 2 3 -4 3
  • (B) 2 3 -3 3.12
  • (C) 2 4 -3 3
  • (D) 2 3 -4 3.12
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category Python
  • Hashtags:

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.