class, __init__, self — the three keywords AI uses every time — step 7 of 9
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.read, then continue.
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.
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.