In this lesson, you’ll learn how to use the
finally keywords when handling exceptions. You’ll see that
else clauses only get run if no exceptions occurred and
finally clauses get run whether there were exceptions or not, making them useful for tidying up when programs fail unexpectedly.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.