Exercise: Number guessing game - level 0
- Create a file called number_guessing_game_0.py
- Using the random module the computer "thinks" about a whole number between 1 and 20.
- The user has to guess the number. After the user types in the guess the computer tells if this was bigger or smaller than the number it generated, or if it was the same.
- The game ends after just one guess.
- Other levels in the next chapter.