classes — reading what ai just wrote you7 / 9
class, __init__, self — the three keywords ai uses every time
AI wrote __init__ but forgot to actually store the argument on the
instance — it just made a local variable that gets thrown away. Fix
line 4 so self.title is set, then the script will print promptdojo v1.
The break is on line 4 — but read the whole snippet first.
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _