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
Model answer
What a good answer should say
- try
Explanation
Why this works
In Python, statements that might cause an exception are placed in a try block.
Common mistake
No common mistake is linked to this question yet.
