Hello everyone! I am not stuck with this exercise, but I just don't see the point of it. Following the instruction, I created a Triangle class, which is a inheritance of Shape class. Then both class have init method, I don't see where is the magic of inheritance. I mean I don't understand the point of the instruction and I think maybe I missed something? Thx!
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 self.side3 = side3