Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- thenumber = random
- guess = 0
- win = False
- while not win:
- guess = input("what is your guess?" )
- if guess>thenumber :
- print "guess is too high"
- if guess<thenumber :
- print "guess is too low"
Add Comment
Please, Sign In to add comment