Python · OOP: Properties, Methods & Data Classes
What does this print? ``` class Dog: tricks = [] def add(self, t): self.tricks.append(t) a, b = Dog(), Dog() a.add("sit"); b.add("roll") print(a.tricks) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
