Python · OOP: Properties, Methods & Data Classes
What does this print? ``` class SortedList(list): def append(self, v): super().append(v) self.sort() l = SortedList([3, 1, 2]) print(l) l.append(0) print(l) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
