aclewett

GuessNumberCorrected

Apr 9th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. my_num = 0
  2. while my_num != 6:
  3. my_num = int(input("Guess what number I'm thinking of "))
  4. if my_num > 6:
  5. print('Too high')
  6. elif my_num < 6:
  7. print('Too low')
  8. else:
  9. print('You guessed it')
Add Comment
Please, Sign In to add comment