Antonio Bello11,243 Points
not working error keys getting thrown when i enter self.slots.sort()
Not sure what is wrong here
class Inventory: def __init__(self): self.slots =  def add_item(self, item): self.slots.append(item) class SortedInventory(Inventory): def __init__(self): super().__init__() def add_item(self,item): super(SortedInventory,self).add_item(item) self.slots.sort()
Steven Parker168,395 Points
The arguments to "super" are unnecessary (and apparently ignored), as is the override of "
__init__". But I tried pasting this code directly into the challenge with no changes and it passed.
Try restarting your browser, I've heard that can help in cases of "false failure".