summaryrefslogtreecommitdiff
path: root/comp/while/1.py
diff options
context:
space:
mode:
Diffstat (limited to 'comp/while/1.py')
-rwxr-xr-xcomp/while/1.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/comp/while/1.py b/comp/while/1.py
deleted file mode 100755
index 08a4e21..0000000
--- a/comp/while/1.py
+++ /dev/null
@@ -1,10 +0,0 @@
-num = 0
-highest = 0
-lowest = 0
-while num != -1:
- num = int(input("num: "))
- if num > highest:
- highest = num
- if num < lowest:
- lowest = num
-print("the highest value was",highest,"and the lowest value was",lowest)