From 2e4fbbf37f3aa4286eafeb203e5756a29da89d3d Mon Sep 17 00:00:00 2001 From: vnakonechnyi Date: Sat, 21 Dec 2024 20:36:23 -0500 Subject: [PATCH] Started Rectangle --- README.txt | 4 ++-- rectangle01.py | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 rectangle01.py diff --git a/README.txt b/README.txt index 1dfe20d..7551466 100644 --- a/README.txt +++ b/README.txt @@ -1,7 +1,7 @@ This is the "Rectangular Project". As you will see this may have been a bad choice of naming. -This is also a file to keep Windows Zip program happy. Windows Zip -will not include an empty directory. +Step 8 renames a mis-spelled program rectanglar-solid.py to +rectangular-solid.py using the git mv command. Ed diff --git a/rectangle01.py b/rectangle01.py new file mode 100644 index 0000000..41a62c8 --- /dev/null +++ b/rectangle01.py @@ -0,0 +1,7 @@ + +length = 4 +width = 3 + +areaOfRectangle = length * width + +print("Area = ",areaOfRectangle) \ No newline at end of file