Debugging Exercises
- Write a Python script that calculates the balance after the first payment of a loan (given the number of years, initial balance and the APR).
- Discuss with your neighbor good strategies to test / debug your code.
- Discuss with your neighbor an example of each of the following errors:
- ParseError
- TypeError
- NameError
- ValueError
- Match each error above with the correct type of error below:
- Syntax error
- Runtime error
- Logic error