git-practice/rectanglar-solid01.py

8 lines
No EOL
240 B
Python

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}")