← Quiz: Debugging with AI: all 10 questions
Quiz: Debugging with AI · Question 1 of 10
Where should you start reading a Python stack trace?
Where should you start reading a Python stack trace?
- A.The first line
- B.The last line (the exception type and message), then walk up through the frames
- C.The middle
- D.Only the file names
Answer & explanation
Correct answer: The last line (the exception type and message), then walk up through the frames
The last line says what went wrong; the frames above show where.
Can you get the rest right without peeking?
Take the timed Quiz: Debugging with AI quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →