variables — what ai reaches for first7 / 9
the four types you'll see daily
Cursor wrote this snippet to print a label and a count. It crashes
with a TypeError on line 2. Fix it by casting the right thing so the
output is exactly count: 6.
Expected output:
count: 6
The break is on line 2 — but read the whole snippet first.
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _