git_practice/homework06/program-files/5 - Modified print format precision/rectanglar-solid01.py
2025-12-14 18:34:36 -05:00

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:.1f}")