Area of Rectangle in Python

    

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

Count Upper Case and Lower Case Word in a string (Python)

  Count Upper Case and Lower Case Word in a string     (Python) def string_test(s):     d={"UPPER_CASE":0, "LOWER_CASE":...