Computer Science, asked by kumarinilam5095, 4 months ago

Write a Python program to find area of rectangle.​

Answers

Answered by zezus
5

as we know the formula to find area of rectangle is length × breadth

so these formula is used in this programm to find area of rectangle

* python programm to find area of rectangle

width = float(input('Please Enter the Width of a Rectangle: '))

height = float(input('Please Enter the Height of a Rectangle: '))

Area = width * height

Perimeter = 2 * (width + height)

print("\n Area of a Rectangle is: %.2f" %Area)

print(" Perimeter of Rectangle is: %.2f" %Perimeter)

here is your program to find area of rectangle using python

Answered by kookiesandmilk
3

Answer:

Rectangle

l=float(input("Enter length"))

b=float(input("Enter breadth"))

area=l*b

print("area of rectangle is",area)

Similar questions