**************** Guess the Number **************** .. tags:: tiny, beginner, game Guess the Number is a classic game for beginners to practice basic programming techniques. In this game, the computer thinks of a random number between 1 and 100. The player has 10 chances to guess the number. After each guess, the computer tells the player if it was too high or too low. .. collapse:: guess_the_number.py .. literalinclude:: guess_the_number.py :language: python :linenos: https://inventwithpython.com/bigbookpython/project31.html