Class basics


class Triangle(object):
def init(self, angle1, angle2, angle3):

I get: Did you create a class with the name Triangle?


Hi, i think that u forgot to add:

self.angle1 = angle1
self.angle2 = angle2
self.angle3 = angle3


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

It has to inherit from Shape class, but this doesnt count as valid answer, it may be a bug of some kind.


you don't need that syntax. enter this

class Car(object):

it'll accept it. i finally realised it after re reading the instructions lol