KnowledgeBoat Logo
|

Computer Science

What is the output of math.ceil(4.4) ?

  1. 5
  2. 4
  3. 4.0
  4. 5.0

Python Modules

1 Like

Answer

5

Reason — The math.ceil() function returns the smallest integer greater than or equal to the given number. For math.ceil(4.4), it returns 5, which is the smallest integer greater than 4.4.

Answered By

3 Likes


Related Questions