summaryrefslogtreecommitdiff
path: root/comp/work/3/isSquare.py
diff options
context:
space:
mode:
Diffstat (limited to 'comp/work/3/isSquare.py')
-rwxr-xr-xcomp/work/3/isSquare.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/comp/work/3/isSquare.py b/comp/work/3/isSquare.py
new file mode 100755
index 0000000..5dea990
--- /dev/null
+++ b/comp/work/3/isSquare.py
@@ -0,0 +1,5 @@
+base = int(input("height: "))
+height = int(input("base: "))
+
+if base == height:
+ print("its a square")