LogiQuest
Back to Exceptions
11

What is the output of the following code?

try:
    int('x')
except ValueError:
    print('bad value')
Easy

Discussion (0)

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

Log in to join the discussion.