Instantiate an object

Code Looks Like
class Triangle(object):
def init(self, angle1, angle2, angle3):
self.angle1 = angle1
self.angle2 = angle2
self.angle3 = angle3
number_of_sides = Triangle(3)
def check_angles(self):
if self.angle1 + self.angle2 + self.angle3 == 180:
return True
return False
my_triangle = Triangle(60,60,60)
print my_triangle.number_of_sides
print my_triangle.check_angles()

Error "Traceback (most recent call last):
File "python", line 1, in
File "python", line 6, in Triangle
TypeError: init() takes exactly 4 arguments (2 given)" "Oops, try again. Did you create an instance of Triangle called my_triangle?"
Anyone know what's wrong?


i think you misunderstand insructions in the previous exercise Class It Up ; Create a variable named number_of_sides and set it equal to 3.
so the code will be number_of_sides = 3