Hi, I have a question about the end of the polymorphism section (Review). I don’t understand why we have to call super() to apply append() method on our object SortedList but we don’t have to do it when we apply sort() method in the next line:
class SortedList(list): def append(self, value): super().append(value) self.sort()
Is it because we apply super().append(value) before and SortedList already behaves like a list?
Thanks for helping me!