One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Lesson one lock-in. Back to the Python sandbox for one step, same print and f-string move as the terminal chapter.
The starter declares variables for the four moves of the agent loop.
Write four print(f"...") lines so the output is exactly:
1. look: read files, run a check, or ask a question
2. plan: decide the next concrete step
3. act: do that step, edit or create or run
4. check: see what happened, then loop again
Type the four lines and run it.
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Lesson one lock-in. Back to the Python sandbox for one step, same print and f-string move as the terminal chapter.
The starter declares variables for the four moves of the agent loop.
Write four print(f"...") lines so the output is exactly:
1. look: read files, run a check, or ask a question
2. plan: decide the next concrete step
3. act: do that step, edit or create or run
4. check: see what happened, then loop again
Type the four lines and run it.
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.