A
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))
a = 2.13
b = 3.7777
c = -3.12
print(int(a), floor(b), ceil(c), fabs(c))
- Correct Answer - Option(B)
- Views: 15
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.