classes — reading what ai just wrote you4 / 9
instance vs class attributes — and the bug ai ships every time
Two Inbox instances. Each appends one message. The class declares
messages = [] at the top — so the list is shared. What does the
print produce?
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _