From 8c58c445e898afc795a36cd9b7a16b2043f4dbea Mon Sep 17 00:00:00 2001 From: cmitchell2301 Date: Sun, 14 Dec 2025 18:49:35 -0500 Subject: [PATCH] Added formatted print --- homework06/git-practice/rectangle01.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework06/git-practice/rectangle01.py b/homework06/git-practice/rectangle01.py index d2c7c0e..fd822ec 100644 --- a/homework06/git-practice/rectangle01.py +++ b/homework06/git-practice/rectangle01.py @@ -4,4 +4,4 @@ width = float(input("Enter a value for width ")) areaOfRectangle = length * width -print("Area = ",areaOfRectangle) \ No newline at end of file +print(f"Area = {areaOfRectangle:.2f}") \ No newline at end of file