Question: Operation The program prompts the user to enter their handle. Use the random method of the python random class to generate a random number between

Operation
The program prompts the user to enter their "handle".
Use the random method of the python random class to generate a random number between 1-100.
The application prompts the user to enter an int value from 1 to 100 until the user guesses the random
number that the application has generated (validate and re-enter until they get it correct).
The application displays messages that indicate whether the user's guess is too high or too low.
When the user guesses the number, the application displays the number of guesses along with a
rating.
The program only runs 1 game at a time, not a chance to run the game again (ignore image above that
gives this option).
Specifications
If the user's guess is more than 10 higher than the random number, the application should say, "Way
too high!"
If the user's guess is higher than the random number, the application should say, "Too high!"
If the user's guess is lower than the random number, the application should say, "Too low!"
The message that's displayed when the user gets the number should vary depending on the number of
guesses. For example:
Number of guesses Message
=====================
=3 Great work! You are a mathematical wizard.some lessons
IN PYTHON
Operation The program prompts the user to enter

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 Programming Questions!