Hello, there is an error in the code, what exactly? I would use def __init__(self, openeddoor) and then self.openeddoor but I do not think this is the mistake. Thank you
class Door(): def __init__(self): self.__opened = False def open(self): self.__opened = True def closeit(self): self.__opened = False def is_opened(self): return False