variables — what ai reaches for first8 / 9
the four types you'll see daily
Write three lines.
Line 1: assign the string "15" to a variable called raw.
Line 2: assign int(raw) + 5 to a variable called total.
Line 3: print total: {total} using an f-string.
Expected output:
total: 20
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _