This is a simple Number Guessing Game program written in Python.
In this game, the computer generates a random number and the user tries to guess it.
The program gives hints like "Too High" or "Too Low" until the correct number is guessed.
This project is useful for learning loops, conditions, and user input in Python.
The main objective of this project is to help students understand:
- While loop
- If-else conditions
- Random module
- Input and output in Python
- Programming Language: Python
- Module Used: random
- Editor: Visual Studio Code
-
Install Python on your system.
-
Open the file
Number_Guess.pyin VS Code. -
Open Terminal in VS Code.
-
Run the program using:
python Number_Guess.py
-
Start guessing the number.
Number_Guessing_Game/ │ ├── guessing_game.py └── README.md
Welcome to Number Guessing Game
Guess a number between 1 and 100
Enter your guess: 60
Too High!
Enter your guess: 30
Too Low!
Enter your guess: 45
Congratulations! You guessed correctly.
Name: Shree Jee Class: B.Tech. 2 Year Branch:Electronics and Communication Engineering
This project is created only for learning and practice purposes.