Shapes
Exercise
Complete the
`Ellipse(Shape)`class definitionComplete the
`scale(self, factor)`method within the class definition`Shape()`Add a method to the each of the classes
`Rectangle(Shape)`,`Triangle(Shape)`, and`Ellipse(Shape)`to calculate the perimeters of the different shapes
Complete the Ellipse(Shape) class definition, the scale() method, and add a method to calculate the perimeters of the three different shapes