12
Create a class called “shapes” that has attribute that will store the number
of sides “n” and the value of each side in a list called “sides”. The
takeSides() method takes the value of each side, and the disSides()
method displays these side lengths. Create a class “rec” (rectangle) that
inherits from “shapes”. Create a new method called findArea() and
calculates the area of a rectangle based on the side values given