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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly