A

Akash Lawaniya • 9.58K Points
Tutor III

Q. What will be the output of the following code snippet?

Code:
from math import *
a = 2.19
b = 3.999999
c = -3.30
print(int(a), floor(b), ceil(c), fabs(c))
  • (A) 2 3 -3 3.3
  • (B) 3 4 -3 3
  • (C) 2 3 -3 3
  • (D) 2 3 -3 -3.3
  • Correct Answer - Option(A)
  • Views: 386
  • 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