Python program to find area of rectangle

0
45
width=float(input("Please enter the width of a rectangle "))

height=float(input("Please enter the height of a rectangle "))

area=width*height            #calculate the area

print("\n area of rectangle is", area)

   Output:
    Please enter the width of a rectangle 25
    Please enter the height of a rectangle 35
     area of rectangle is 875.0

 

 

Python program to find area of rectangle Program to find area of rectangle program to find area of rectangle in python write a basic program to calculate the area of rectangle write a basic program to find the area of a rectangle write a python program to find the area of rectangle

LEAVE A REPLY

Please enter your comment!
Please enter your name here