Python - Exception Handling Fundamentals
Find the error in this code and choose the correct fix:
try:
print(10 / 0)
except ZeroDivisionError, e:
print('Error:', e)try:
print(10 / 0)
except ZeroDivisionError, e:
print('Error:', e)except ZeroDivisionError, e: with except ZeroDivisionError as e:.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions