1.

What is returned by math.ceil(3.4)?(a) 3(b) 4(c) 4.0(d) 3.0I have been asked this question in final exam.Asked question is from Math topic in chapter Mapping Functions and Modules of Python

Answer»

The correct CHOICE is (b) 4

The explanation: The ceil function returns the SMALLEST integer that is bigger than or EQUAL to the number itself.



Discussion

No Comment Found

Related InterviewSolutions