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:
import math
print(math.floor(math.pi))

  1. A.

    2

  2. B.

    3

  3. C.

    4

  4. D.

    The code raises an error

Attempted by 1144 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…