Loops — read it, predict it, then trust it — step 8 of 10
Cursor wrote this expecting it to print maya: 92 and marcus: 78. Instead
it crashes with a ValueError because looping a dict directly only hands you
the keys, not the keys and values.
Fix line 2 so the loop prints both lines.
The break is on line 2 — but read the whole snippet first.
⌘↵ runs the editor.read, then continue.
Cursor wrote this expecting it to print maya: 92 and marcus: 78. Instead
it crashes with a ValueError because looping a dict directly only hands you
the keys, not the keys and values.
Fix line 2 so the loop prints both lines.
The break is on line 2 — but read the whole snippet first.
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.