i dont get the question please help me. TASK 2 OF SUPER CLASS. WHAT IS WRONG WITH MY CODE.
hbfd hrdh fvj
class Inventory: def __init__(self): self.slots =  def add_item(self, item): self.slots.append(item) class SortedInventory(Inventory): def add_item(self): super().__init__()
Steven Parker177,931 Points
You have the right idea about using "super()" to access the base class methods, but it's not "
__init__" that you need to call to perform the "add_item" task.
Also, your override will need to take an argument, just like the method in the base class does. And it will need to pass that argument along to base method.