'Class, method, inheritance related question

Create a class named Rectangle constructed by a length and width and a method named rectangle_area() which will compute the area of a rectangle and print it. Create an instance of the Rectangle class and call the method to print the area of a rectangle



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source