summaryrefslogtreecommitdiff
path: root/comp/work/11/area.py
diff options
context:
space:
mode:
authorstandenboy <standenboy@seacrossedlovers.xyz>2023-12-15 10:19:20 +0000
committerstandenboy <standenboy@seacrossedlovers.xyz>2023-12-15 10:19:20 +0000
commit4a95719d58a708ad55b1389631d6339047f786a0 (patch)
tree26cb6fc2dbe7fa75f57f1d6fb13aff8955772b56 /comp/work/11/area.py
added existing work
Diffstat (limited to 'comp/work/11/area.py')
-rwxr-xr-xcomp/work/11/area.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/comp/work/11/area.py b/comp/work/11/area.py
new file mode 100755
index 0000000..c4e2359
--- /dev/null
+++ b/comp/work/11/area.py
@@ -0,0 +1,7 @@
+def area(length, height):
+ return length * height
+
+length = int(input("the length of the shape: "))
+height = int(input("the height of the shape: "))
+
+print(area(length,height))