Question: Python - Write a new guessing game program, but one where you think of a number and the computer tries to guess it. The user
Python -
Write a new guessing game program, but one where you think of a number and the computer tries to guess it. The user should think of a number between 1 and 100. The computer has 10 guesses to try to guess it. It should show you its guess, and the user should respond with 'higher', 'lower', or 'correct' If the computer hasn't figured it out in 10 guesses, it should give up.
You can have your computer select guesses however you want, but it should make use of the information you give it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
