Identify the correct outcome produced by the Python program from the given…

PYQ EMRS TGT/PGT (ESSE) 2025

Identify the correct outcome produced by the Python program from the given options.
code:
A, B = 10, 0
try:
print(A % B)
except ZeroDivisionError:
print('Division by Zero Error!')
except:
print('Some Error!')

  1. A.

    Some Error!

  2. B.

    Division by Zero Error!

  3. C.

    No Error

  4. D.

    This program raises a Syntax Error

Attempted by 486 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…