Guess the number small app - script file available !
~ Works with any Python 2.x.x Interpreter
~ In this small game, the computer will think of a random number from 1 to 20, and ask you to guess the number. You only get six guesses, but the computer will tell you if your guess is too high or too low. If you guess the number within six tries, you win.
~ This is a great example of using proper code indentation and conditionals. Basic usage of the randint() function within the random module.
~ Script available for download !
Comments: 0
There are no comments yet, be the first to write a comment!