Python · The Data Model: Identity & Mutability
A method returns self.data (a list). Why can that let outside callers corrupt the object, and what's the fix?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
