EasyOutput prediction

Basic try/except

What does this code print?

try:
    x = int('hello')
except ValueError:
    print('bad input')
print('done')

← → arrow keys to navigate

Sign in to save your progress.

Basic try/except - Python Error Handling Quiz | Unnested