Lesson 25 of 34 · +120 xp
Try / Except
Catch errors.
Explained simply
Your task
Write: try: risky() except ValueError: pass
Click 'Run code' to execute your code in a real sandbox.
Lesson 25 of 34 · +120 xp
Catch errors.
Write: try: risky() except ValueError: pass
Click 'Run code' to execute your code in a real sandbox.