Did you create a class with the name Triangle?


#1

This is my code:
class Triangle(object):
def init(self, angle1, angle2, angle3):
self.angle1 = amgle1
self.angle2 = angle2
self.angle3 = angle3
and I get this error:
Oops, try again! Did you create a class with the name Triangle?


#3

So I have the same problem too.

class Shape(object):
"""Makes shapes!"""
def init(self, number_of_sides):
self.number_of_sides = number_of_sides

Add your Triangle class below!

class Triangle(Shape):
def init(self, side1, side2, side3):
self.side1 = side1
self.side2 = side2
side.side3 = side3

DId you manage to find a solution in the end?