From b0f5d943be98fa68b43b793689fc309240e56bb2 Mon Sep 17 00:00:00 2001 From: cmitchell2301 Date: Sun, 14 Dec 2025 19:12:47 -0500 Subject: [PATCH] Corrected text seen by the user --- homework06/git-practice/rectanglar-solid01.py | 8 ++++---- homework06/git-practice/rectangle01.py | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/homework06/git-practice/rectanglar-solid01.py b/homework06/git-practice/rectanglar-solid01.py index 4aaa83c..3a4779e 100644 --- a/homework06/git-practice/rectanglar-solid01.py +++ b/homework06/git-practice/rectanglar-solid01.py @@ -1,8 +1,8 @@ -length = float(input("Enter a value for length ")) -width = float(input("Enter a value for width ")) -height = float(input("Enter a value for height ")) +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"Area = {volumeOfRectangle:.2f}") \ No newline at end of file +print(f"Volume = {volumeOfRectangle:.1f}") \ No newline at end of file diff --git a/homework06/git-practice/rectangle01.py b/homework06/git-practice/rectangle01.py index fd822ec..2b1b70e 100644 --- a/homework06/git-practice/rectangle01.py +++ b/homework06/git-practice/rectangle01.py @@ -1,7 +1,7 @@ -length = float(input("Enter a value for length ")) -width = float(input("Enter a value for width ")) +length = float(input("Enter a value for the length ")) +width = float(input("Enter a value for the width ")) areaOfRectangle = length * width -print(f"Area = {areaOfRectangle:.2f}") \ No newline at end of file +print(f"Area = {areaOfRectangle:.1f}") \ No newline at end of file