asked 235k views
4 votes
How to Calculate the area of a rectangle in python

1 Answer

5 votes
Firstly, take input from the user for length and breadth using the input() function.

Now,calculate the area of a rectangle by using the formula Area = l * b.

At last, print the area of a rectangle to see the output.
answered
User Keegan Jay
by
8.8k points

No related questions found