class, __init__, self — the three keywords AI uses every time — step 6 of 9
Claude wrote this and it crashes with a TypeError because it forgot
self in the method definition. Add self as the first parameter to
total so the script prints 15.
The break is on line 5 — but read the whole snippet first.
⌘↵ runs the editor.read, then continue.
Claude wrote this and it crashes with a TypeError because it forgot
self in the method definition. Add self as the first parameter to
total so the script prints 15.
The break is on line 5 — 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.