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: Use random.randintab to generate a random number between a and b You will also need to add an import random command at the start. Ask a player to enter a number integer to be guessed. The number is greater than zero but less than or equal to Use a while statement to give an indication if the number is higher or lower than the guess. The process repeats until the number is guessed or the player types quit. Hint : You need an initial guess guess to initiate your while statement. Hint : You need two if statements: the first one is to deal with the game quitters Hint : Your conditional while statement should compare the number generated to the current guess with three possible outcomes: high, low or just right. Hint: 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
