Question: Modify the guessing - game program of Section 3 . 5 in the file guess.py so that the user thinks of a number that the
Modify the guessinggame program of Section in the file guess.py so that the user thinks of a number that the computer must guess. The computer must make no more than the minimum number of guesses, and it must prevent the user from cheating by entering misleading hints.
Hint: Use the math.log function to compute the minimum number of guesses needed after the lower and upper bounds are entered. LO:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
