Q. What is the output of the following program?
Code:
from math import * a = 2.13 b = 3.7777 c = -3.12 print(int(a), floor(b), ceil(c), fabs(c))
β
Correct Answer: (B)
2 3 -3 3.12
from math import * a = 2.13 b = 3.7777 c = -3.12 print(int(a), floor(b), ceil(c), fabs(c))
You must be Logged in to update hint/solution