Python Program To Find Area Of The Rectangle

Python Program To Find Area Of The Rectangle

Code
# Find the area of the rectangle...

width= input("Enter the width of the rectangle:")
height= input("Enter the height of the rectangle:")
print("Area of the rectangle is:",float(width)*float(height))
Output
Enter the width of the rectangle:4
Enter the height of the rectangle:6
Area of the rectangle is: 24.0

Post a Comment