Computer Science, asked by MrPikadachi, 2 days ago

write a program to calculate and display area and perimeter of a rectangle in python​

Answers

Answered by Kundan0527H
1

Answer:

Python Program to find Perimeter of a Rectangle using length and width

Write Python Program to find Perimeter of a Rectangle using length and width with a practical example.

Python Program to find Perimeter of a Rectangle using length and width example 1

This Python program allows user to enter the length and width of a rectangle. By using the length and width, this program finds the perimeter of a rectangle. The math formula to calculate perimeter of a rectangle: perimeter = 2 * (Length + Width). If we know the length & width.

Answered by ashasharma7145
1

Answer:

Python program to find area and perimeter of a rectangle

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

Now, we will calculate the area of a rectangle by using the formula Area = w * h.

Next, we are calculating the perimeter of a rectangle Perimeter = 2 * (w + h)

Explanation:

I sure that I am helpful for you please make me branliest

Similar questions