15/19 What's wrong here?


#1



def Triangle(object):
    def __init__(self, angle1, angle2, angle3):
        self.angle1= angle1
        self.angle2= angle2
        self.angle3= angle3

What's wrong with thise code? Keeps asking me if I initialized with 4 arguments.


#2

I agree with you that the error actually isn't very descriptive. The actual problem with your code is that you are using the method definition keyword to create a class :wink: