This is a simple Python number guessing game where you try to guess a randomly chosen number between 1 and 100. You have a total of 5 turns to guess the correct number.
- Run the Python script using a Python interpreter.
- You'll be prompted with a welcome message and instructions.
- You have to guess a number between 1 and 100.
- If your guess is correct, you win the game. If not, the program will tell you if your guess is too high or too low.
- You'll have a total of 5 turns to guess the number. Use them wisely!
- If you run out of turns, the game ends, and you'll be informed of the correct number.
- Python 3.x (you can download it from Python's official website)
- Open your terminal or command prompt.
- Navigate to the directory where the script is located.
- Run the script with the following command:
- Follow the on-screen instructions to play the game.