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!')
- A.
Some Error!
- B.
Division by Zero Error!
- C.
No Error
- D.
This program raises a Syntax Error
Attempted by 486 students.
Sign up free to check your answer
Sign up freeLoading lesson…

