In this lesson, you’ll learn how to use the else and 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! Make it stick: Mentor AI will check what you’ve got down, help you build something with it, and find your #1 takeaway to share in the discussion.
Or go straight to the discussion section and share your #1 takeaway and how you’ll put your new skills to use.
Ghani on Oct. 24, 2020
Good course; thank you!