Inheritance Syntax


#1


https://www.codecademy.com/en/courses/python-intermediate-en-WL8e4/2/2?curriculum_id=4f89dab3d788890003000096#

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!


#2

Hi @arcrockstar31680,

Here is the problem ...

    seld.side3 = side3

#3

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