EasyOutput prediction

Catching the right exception type

What does this code print?

try:
    result = 10 / 0
except ValueError:
    print('value error')
except ZeroDivisionError:
    print('divide by zero')

← → arrow keys to navigate

Sign in to save your progress.