git_practice/rectangular-solid01.py

8 lines
254 B
Python

length = float(input("Enter a value for the length "))
width = float(input("Enter a value for the width "))
height = float(input("Enter a value for the height "))
volumeOfRectangle = length * width * height
print(f"Volume = {volumeOfRectangle:.1f}")