Try/except Flashcards
1
Q
- You surround dangreour sections of code with “try” and “except”
- If the code is in the “try” works - the “except” is skipped
- If the code in the “try fails” - it jumps to the except section
A
If the “try” works except is? Skipped
If “try” fails except does? Code jumps to “except” section