What is printed? python import math print(math.ceil(4.2), math.floor(4.8))

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