Question: In Python Write a guessing game program in which the computer chooses at random an integer in the range 1...100. The users goal is to

In Python

Write a guessing game program in which the computer chooses at random an integer in the range 1...100. The users goal is to guess the number in the least number of tries. For each incorrect guess the user provides, the computer provides feedback whether the users number is too high or too low. 6. Extend Problem 5 by keeping track of the number of guesses the user needed to get the correct answer. Report the number of guesses at the end of the game. 7. Extend Problem 6 by measuring how much time it takes for the user to guess the correct answer. Report the time and number of guesses at the end of the game.

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!