Question: Write a new guessing game program in Python , but one where you think of a number and the computer tries to guess it. The

Write a new guessing game program in Python, 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!