Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random as rand
- def get_random_number(min, max):
- # rand.seed(10)
- rando = rand.randint(min, max)
- return rando
- def get_response(user_input, numberToBeGuessed):
- if(user_input == numberToBeGuessed):
- return "Congrats, You WON!!!! GO PARTY AND CARROT JUICE!! You better check yourself before you wreck yourself"
- elif(user_input < numberToBeGuessed):
- return "Go bigger or go home"
- else:
- return "Go smaller or go home"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement