Write a python program that prompts a user for the length and width of a rectangle, calculate and display their perimeter and area.
Answers
Answered by
0
Answer:
Python Program to find Area of a Rectangle
Write a Python Program to find Area of a Rectangle and Perimeter of a Rectangle with example. Before we step into the Python Program to find Area of a Rectangle example, Let see the definitions and formulas.
Python Area of a Rectangle
If we know the width and height then, we can calculate the area of a rectangle using below formula.
Area = Width * Height
Perimeter is the distance around the edges. We can calculate perimeter of a rectangle using below formula
Similar questions