Guest User

Untitled

a guest
Apr 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. import random
  2. thenumber = random
  3. guess = 0
  4. win = False
  5.  
  6. while not win:
  7.     guess = input("what is your guess?" )
  8.     if guess>thenumber :
  9.         print "guess is too high"
  10.     if guess<thenumber :
  11.         print "guess is too low"
Add Comment
Please, Sign In to add comment