This is a simple Python project that I created while studying the Cisco Python Essentials 1 course.
The program is a game where the computer picks a random number between 1 and 100. The player has to guess the correct number.
- The computer selects a secret number.
- The user enters their guess.
- If the guess is too low, the program tells the user to try a larger number.
- If the guess is too high, the program suggests a smaller number.
- The game continues until the user finds the correct number.
- At the end, it shows how many attempts the user took to win.
To run this game, you only need Python installed on your computer.
- Download the script.
- Open your terminal or command prompt.
- Run the command: python your_filename.py