Analyze the following Python code snippet and identify the correct output…
PYQ EMRS TGT/PGT (ESSE) 2025
Analyze the following Python code snippet and identify the correct output produced by the program from the given options:
from math import ceil, pi
print(ceil(-pi))
- A.
-3
- B.
-4
- C.
4
- D.
The code raises an error
Attempted by 856 students.
Sign up free to check your answer
Sign up freeLoading lesson…

