All lessons
Exceptions
Programs meet bad data all the time. try/except lets your code survive errors instead of crashing.
Python errors explainedFrequently asked questions
What is the lesson “Exceptions” about?
Programs meet bad data all the time. try/except lets your code survive errors instead of crashing.
How many exercises are in this lesson?
This lesson has 4 exercises.
Do I need to install anything to do the exercises?
No. The code is written and run in the browser.