This script allows to calculate areas, perimeters, diagonals... of rectangles and squares. It displays visually rectangles and squares using '*' and represents their objects in a string.
The script contains two classes 'Rectangle' and 'Square'. The Square class is a subclass of Rectangle and inherit methods and attributes.