Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Two instances initially read the class attribute status = "new". What does first.status = "paid" change?" on CodeWiki (https://codewiki.com/practice/mcq/python/checkpoint-3/checkpoint-3-attribute-shadowing/).
Context (verbatim from the page):
"""
Two instances initially read the class attribute status = "new". What does first.status = "paid" change?
It creates or replaces an instance attribute on first; the other instance still reads "new"
It changes the class attribute for every instance
It raises AttributeError because class attributes are read-only
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Python. Where you are unsure, say so.