A try statement can have two more optional branches beyond except. Knowing exactly when each runs is a reliable source of exam questions, usually in the form of code that prints letters from different branches and asks what the output is.
Free account
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 5 more sections, 3 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.