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.
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.