Question: paython Write a program that asks the user from the prompt to guess a secret number. Your secret number is 5. If the user guesses

paython paython Write a program that asks the user from the prompt to

Write a program that asks the user from the prompt to guess a secret number. Your secret number is 5. If the user guesses the number you can congratulate them. If they don't guess it, you should tell them if they need to guess higher or lower, and prompt them to enter another number. Hints: 1) The first 3 lines of the code is given in the box below. 2) If the guess is equal to the secret number, change the keepgoing to False. (keepgoing = False will stop the while loop) 3) Precheck is free again. For example: Input Result 3 7 5 Guess a number between 1 and 10: 3 Too low Guess a number between 1 and 10: 7 Too high Guess a number between 1 and 10: 5 Congrats

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