Summary
Summarize the concept explored in this chapter regarding expections in Python.
Recall
Some key points in this chapter:
- Raising an exception happens when something goes wrong. We looked at division by zero as an example. Exceptions can also be raised with the
raise
statement. - The effects of an exception are to interrupt the normal sequential execution of statements.