summaryrefslogtreecommitdiff
path: root/comp/while/2.py
diff options
context:
space:
mode:
authorstandenboy <standenboy@seacrossedlovers.xyz>2023-12-27 17:01:19 +0000
committerstandenboy <standenboy@seacrossedlovers.xyz>2023-12-27 17:01:19 +0000
commite10797984eefbed9244c5665f0e7d71839d1ee64 (patch)
tree537079dab0c4c5538f471699f2d913dff38ce1b0 /comp/while/2.py
parentb3f46447caadae8579baa5f583ee2be286acf88d (diff)
updated submodule
Diffstat (limited to 'comp/while/2.py')
-rwxr-xr-xcomp/while/2.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/comp/while/2.py b/comp/while/2.py
deleted file mode 100755
index 7929862..0000000
--- a/comp/while/2.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import random
-
-guess = -1
-ans = random.randint(1,100)
-
-while guess != ans:
- guess = int(input("guess: "))
- if guess < ans:
- print("higher")
- elif guess > ans:
- print("lower")
-
-