Question: Write a program that plays the guessing game with the user. (this program should be write in python) The program should (1) pick a random
Write a program that plays the "guessing game" with the user. (this program should be write in python)
The program should
(1) pick a random number in a range (0-1000)
(2) Ask the user to guess the number
(3) Tell the user "Guess higher", "Guess lower" or "It took xxx guesses to get to the right number", xxx being the number of guesses made.
(4) have a while loop to repeat (2) and (3) until the user guesses correctly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
