git_practice/rectanglar-solid01.py

8 lines
240 B
Python
Raw Normal View History

2024-12-21 20:45:14 -05:00
length = float(input("Enter a value for length "))
width = float(input("Enter a value for width "))
height = float(input("Enter a value for height "))
volumeOfRectangle = length * width * height
print(f"Area = {volumeOfRectangle:.2f}")