variables — what ai reaches for first9 / 9
the four types you'll see daily
Checkpoint
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Last one. AI handed you a snippet that reads a user id from a config
string, doubles it, and prints a message. The config arrives as
"42" (a string). The starter has the first three lines. Finish line 4
so the script prints exactly next id: 85.
Hint: line 4 prints an f-string with next_id.
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _