CBSE Class 11 Computer Science Question 20 of 63

Introduction to Python Modules — Question 1

Back to all questions
1
Question

Question 1

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

  1. 5
  2. 4
  3. 4.0
  4. 5.0
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.