Loops — read it, predict it, then trust it — step 6 of 10
Cursor wrote a loop that walks through a dict and prints each name and score. The loop header is missing the second loop variable, and the f-string on the next line uses the same name. Both blanks take the same word.
Variable name (line 2):
Same name in f-string (line 3):
⌘↵ runs the editor.read, then continue.
Loops — read it, predict it, then trust it — step 6 of 10
Cursor wrote a loop that walks through a dict and prints each name and score. The loop header is missing the second loop variable, and the f-string on the next line uses the same name. Both blanks take the same word.
Variable name (line 2):
Same name in f-string (line 3):
⌘↵ runs the editor.read, then continue.