loops — predict the output8 / 10
loops — read it, predict it, then trust it
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.
Booting Python…
Output
[promptdojo:~]$ _