Code for the Python project: Guess the number game