Question: Write a python program Guess the Number game. The computer will think of a random number from 1 to 20, and ask you to guess
Write a python program Guess the Number game. The computer will think of a random number from 1 to 20, and ask you to guess it. The computer will tell you if each guess is too high or too low. You win the match if you can guess the number within 4 tries, if not the computer wins. The first one to win 3 matches, wins the game. The program should keep running until a player reaches 3, and should print out the winner as well.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
