Area of Rectangle in Python
#Area of Rectangle
width=float(input("Enter the width of the Rectangle :"))
height=float(input("Enter the height of the Rectangle :"))
area=width*height
print("area of the rectangle",area)
print("\n")
Output :
Enter the width of the Rectangle :41
Enter the height of the Rectangle :5
area of the rectangle 205.0



0 comments:
Post a Comment
gurnoorsingh5974@gmail.com