Exam-style question
Try this first
Which Python structure is used to attempt code that might produce an exception?.
- A.try
- B.attempt
- C.handle
- D.check
Answer and explanation
Concise answer
try
Why this is correct
In Python, statements that might cause an exception are placed in a try block.
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.
