skip to content
promptdojo
_
[ save your spot ]
[ follow on x ]
A traceback is a map — read bottom-up — step 2 of 8
ch 03 · read the failure
2/8
promptdojo
_
›
phase 01 · read the code ai writes
›
ch 03 · read the failure
lesson 1 of 3 · a traceback is a map — read bottom-up
step 2 of 8 in this lesson
Cursor wrote this snippet and it crashes. Before you run it, what error type does Python throw?
1
`NameError`
2
`KeyError`
3
`IndexError`
4
`AttributeError`
check
Show hint
ch 03 · read the failure
2/8
promptdojo
_
›
phase 01 · read the code ai writes
›
ch 03 · read the failure
lesson 1 of 3 · a traceback is a map — read bottom-up
step 2 of 8 in this lesson
Cursor wrote this snippet and it crashes. Before you run it, what error type does Python throw?
1
`NameError`
2
`KeyError`
3
`IndexError`
4
`AttributeError`
check
Show hint
park a thought