promptdojo_

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.

full-screen editor opens — close anytime to keep reading.