Lucas Wijk6,369 Points
Can someone spot what I am doing wrong here?
What am I missing?
class Inventory: def __init__(self): self.slots =  def add_item(self, item): self.slots.append(item) class SortedInventory(Inventory): def add_item(self, item): super().add_item(item) self.slots.list()
Steven Parker180,224 Points
The instructions ask you to use the ".sort()" method of a list to make sure the slots list gets sorted after an item is added. Lists don't have a ".list()" method in any case.