Question: Write a Python program that does the following: Includes the Program/Author Block Includes the Function Block for any functions created Calculates a random integer between
Write a Python program that does the following: Includes the Program/Author Block Includes the Function Block for any functions created Calculates a random integer between 0 and 100 inclusive using the random.randint() function Prompts the user to make guess an integer between 0 and 100 inclusive Processes the user's guess o If the guess is non-numeric or less than 0 or greater than 100, Display an appropriate error message Prompt the user to make a new integer guess o If the guess is an integer between O and 100 inclusive If the guess equals the random number, display Correct If the guess is lower than the random number, display Higher, If the guess is higher than the random number, display Lower o If the guess is not correct, prompt the user for another guess and repeat If the user's guess was correct, prompt the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
