Author: UMERJAMSHIAD
Roll Number: ?
Email: [email protected]
Creating a Number Guessing Game in Python.
This Python script implements a simple Number Guessing Game. The user is required to guess a randomly generated number between 1 and 100. The game provides feedback on whether the guessed number is too low, too high, or correct. The objective is to guess the number in the fewest attempts possible.
- Run the Python script
number_guessing_game.py
. - Follow the on-screen instructions to input your guess.
- The game will provide feedback on whether your guess is too low, too high, or correct.
- Keep guessing until you correctly guess the secret number.
- Generates a random number between 1 and 100 for the user to guess.
- Tracks the number of attempts made by the user.
- Provides feedback on whether the guess is too low, too high, or correct.
- Congratulates the user upon guessing the correct number.
- Clone this repository to your local machine.
- Navigate to the directory containing the Python script.
- Run the script using Python 3:
python number_guessing_game.py
. - Follow the on-screen instructions to play the game.
Python 3.x
For any inquiries or feedback, feel free to contact the author at:
Email: [email protected]