Question: Create a program of a mini game Number guessing. Ask the user to input an integer from 1 to 1 0 0 . If the
Create a program of a mini game "Number guessing". Ask the user to input an
integer from to If the guess is not correct, reduce the range and ask the
user input again, until the guess is correct and print the number of guess.
Hint: Using function random to generate the target number
Q
Guess a number from to :
Guess a number from to :
Guess a number from to :
Guess a number from to :
Guess a number from to :
Guess a number from to :
The guess is correct!!
The answer is:
You made guesses
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
