Exam-style question
Try this first
In Python, which block contains code that responds if an exception occurs in the associated try block?.
- A.except
- B.respond
- C.error
- D.catching
Answer and explanation
Concise answer
except
Why this is correct
An except block provides the response to an exception raised while the related try block is being executed.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
