loops — predict the output2 / 10
loops — read it, predict it, then trust it
Cursor offered four lines that could go after pets = ["luna", "moose"].
Only one is valid Python that walks through the list. Which one?
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _