Question: please help in PYTHON Write a python script that uses a while statement to create a number guessing game: 1 . Use random.randint ( a

please help in PYTHON Write a python script that uses a while statement to create a number guessing game: 1. Use random.randint(a,b) to generate a random number between a=1 and b=1000. You will also need to add an import random command at the start. 2. Ask a player to enter a number (integer) to be guessed. The number is greater than zero but less than or equal to 1000.3. Use a while statement to give an indication if the number is higher or lower than the guess. 4. The process repeats until the number is guessed or the player types quit. Hint 1: You need an initial guess (guess=0) to initiate your while statement. Hint 2: You need two if statements: the first one is to deal with the game quitters Hint 3: Your conditional while statement should compare the number generated to the current guess with three possible outcomes: high, low or just right. Hint4: Use the command break to end the game when you win and when you quit.I want to write in python guessing game using letters my word us "wisdom"

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!