Question: Q - 1 Write a Python program that generates a random number between 1 and 1 0 0 , then prompt the user to guess
Q Write a Python program that generates a random number between and then prompt the user to guess the chosen number. After
each guess, the program should provide the user with feedback indicating if the guess is too high or too low, and allow them to continue
guessing. Once the user correctly guesses the number, the program should print a message with the number of attempts used.
Program example:
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
