Guess the number
In this game the computer will generate a random number from 1 to 100. (random library module)
The player will keep guessing until they have guessed the number. (while loop & selection - if...elif..else) At the end the player will be told how many guesses they took. 4 variables are needed:
Using your previous dice games, complete the program to create the working game. Once it is working, attach it to an email to your teacher.
|