what is wrong here?
I am trying to make different items, such as a candle for the players inventory
i want to create a child class for item
here is the code
gameExit = False gameOver = False while not gameExit and gameOver: class item(): def __init__(self, name, description): self.name = name self.description = description class Candle(item): def __init__(self): class player(): def __init__(self): self.inventory =