Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Linus Hansson
- #Linux administration 7.5
- import random
- x=1
- z=1000
- guess=0
- number=random.randint(1,1000)
- while True:
- guess = int(input("Im thinking about a number between 1-1000"))
- if guess < number:
- print ("thats to low!")
- elif guess > number:
- print ("thats to high")
- else:
- print ("There u go! good jobb!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement