What is printed? python import math print(math.ceil(4.2), math.floor(4.8))
- 5 4
- 4 4
- 4 5
- 5 5
Answer
A) 5 4
ceil rounds up, floor rounds down. SLO CS-11-C-04
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise
A) 5 4
ceil rounds up, floor rounds down. SLO CS-11-C-04
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise