Lesson 25 of 34 · +120 xp

Try / Except

Catch errors.

Explained simply

Your task

Write: try: risky() except ValueError: pass

try.py
▶ Output (python)
Click 'Run code' to execute your code in a real sandbox.
← Back