modified the print formats

This commit is contained in:
jdavilabeaz2401 2025-11-26 13:43:11 -05:00
parent 935cecbb7f
commit 9871aa99f3
2 changed files with 2 additions and 2 deletions

View file

@ -5,4 +5,4 @@ height = float(input("Enter a value for height "))
volumeOfRectangle = length * width * height
print(f"Area = {volumeOfRectangle:.2f}")
print(f"Area = {volumeOfRectangle:.1f}")