from rectangle import Rectangle, Circle, Square

rect_1 = Rectangle(3,4)
rect_2 = Rectangle(12,5)
square_1 = Square(5)
square_2 = Square(10)
circle_1 = Circle(10)
circle_2 = Circle(15)


figures = [rect_1, rect_2, square_1, square_2, circle_1, circle_2]

for figure in figures:
    if isinstance(figure,Square):
        print(figure.get_arrea_square())
    elif isinstance(figure,Circle):
        print(figure.get_arrea_circle())
    else:
        print(figure.get_arrea())