#!/usr/bin/python3

# Demonstrate the effect of Exception hierarchy on exception handling
# ZeroDivisionError is a more specific exception of the ArithmeticError 




try:
	y=1/0
except ZeroDivisionError:
	print("Zero Division")
except ArithmeticError:
	print("Arithmetic Problem")

print("THE END")

476f4bd7f3bf7474eeda3d70d6ac2057c956bd90
<mask token>

try:
    y = 1 / 0
except ZeroDivisionError:
    print('Zero Division')
except ArithmeticError:
    print('Arithmetic Problem')
print('THE END')

#!/usr/bin/python3

# Demonstrate the effect of Exception hierarchy on exception handling
# ZeroDivisionError is a more specific exception of the ArithmeticError 




try:
	y=1/0
except ZeroDivisionError:
	print("Zero Division")
except ArithmeticError:
	print("Arithmetic Problem")

print("THE END")
