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
Answer» B. 2 3 -3 3.12
4.2k
0
Do you find this helpful?
30

View all MCQs in

Python Programming

Discussion

No comments yet

Related MCQs