0
How to write a program that calculates the area of a rectangle in python
2 Respuestas
+ 3
You have to think about what you need...
To calculate the area of rectangle you need length and breadth (width)
Just create 2 variables (float/int), multiply them and print the value.
+ 1
The formula for the area of a rectangle is:
area = length * width
You should be able to figure out how to make it a Python code, I believe.