Inheritance Syntax


It Gives This Error Message:

Oops, try again. Did you create a class called Triangle?

class Triangle(Shape):
    def __init__(self, side1, side2, side3):
        self.side1 = side1
        self.side2 = side2
        seld.side3 = side3

I can't figure out my MISTAKE!


Hi @arcrockstar31680,

Here is the problem ...

    seld.side3 = side3


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.