LogiQuest
Back to Exceptions
1

What is the output of the following code?

try:
    print(10 / 0)
except ZeroDivisionError:
    print('error')
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.

What is the output of the following… | LogiQuest