0

I need some help why can't I create an instance of the child class without an error ?

class tv():
    def _init__(self,color,screen,frame):
        self.color=color
        self.screen = screen
        self.frame = frame
    def DesOfTV(self):
        info = "The TV has a"+self.color+"and a"+self.screen+"screen"
        return info

class retroTV(tv):
    def __init__(self,color,screen,frame):
        super().__init__(color,screen,frame)

oldertV = retroTV("black","tuber","wood")
2
Contributors
1
Reply
27
Views
11 Months
Discussion Span
Last Post by AndrisP
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.