Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. from third import module
  2.  
  3. numberToBeGuessed = module.get_random_number(0, 64)
  4. user_input = int(input("Please Guess the number: "))
  5. print(module.get_response(user_input, numberToBeGuessed))
  6.  
  7. while(user_input != numberToBeGuessed):
  8. user_input = int(input("Please Guess the number: "))
  9. print(module.get_response(user_input, numberToBeGuessed))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement