diff --git a/guess.py b/guess.py new file mode 100644 index 0000000..e0a7428 --- /dev/null +++ b/guess.py @@ -0,0 +1,18 @@ +import random + +run = True +target = random.randint(1,25) + +while run: + user_input = int(input('Enter a Number between 1 and 25 : ')) + if user_input == target: + print('You won!') + run = False + + elif user_input > target: + print("Try a Lower Number!") + continue + + else: + print('Try a Higher Number!') + continue \ No newline at end of file