Question: Make a loop to keep asking a user to guess a number between 1 & 1 0 . The user will have 3 guesses. If
Make a loop to keep asking a user to guess a number between & The user will have guesses. If the user guesses the right number tell them they won the game. If the user doesn't guess the right number in guesses tell them they lost the game. Setting the number of guesses and picking a random number as the number to guessimport randomguesses number random.randint
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
