This activity is designed to help you learn how to recognise and fix errors that cause your program to crash when you’re writing python code.
The last few activities looked at how we can use variables and constants to store data and how to convert data between different data types.
There’s a good chance that you’ve come across some error messages whilst trying, debugging and extending your python code.
As mentioned before, there are three types of errors you’ll need to be able to find and fix: syntax errors, logical errors and runtime errors.
This activity focuses on runtime errors: what they are, how you can avoid them and how you can fix them.