From c20afad63b15c4f76df4412ba4734a1c6fd892f3 Mon Sep 17 00:00:00 2001 From: jdavilabeaz2401 Date: Wed, 26 Nov 2025 13:45:05 -0500 Subject: [PATCH] Corrected text seen by the user --- rectanglar-solid01.py | 8 ++++---- rectangle01.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rectanglar-solid01.py b/rectanglar-solid01.py index 4b5fafd..3a4779e 100644 --- a/rectanglar-solid01.py +++ b/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:.1f}") \ No newline at end of file +print(f"Volume = {volumeOfRectangle:.1f}") \ No newline at end of file diff --git a/rectangle01.py b/rectangle01.py index 7afaa50..2b1b70e 100644 --- a/rectangle01.py +++ b/rectangle01.py @@ -1,6 +1,6 @@ -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