Skip to content

shreejee1210/Number_guess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Number Guessing Game (Python)

Project Description

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.


Objective

The main objective of this project is to help students understand:

  • While loop
  • If-else conditions
  • Random module
  • Input and output in Python

🛠 Tools Used

  • Programming Language: Python
  • Module Used: random
  • Editor: Visual Studio Code

▶ How to Run the Program

  1. Install Python on your system.

  2. Open the file Number_Guess.py in VS Code.

  3. Open Terminal in VS Code.

  4. Run the program using:

    python Number_Guess.py

  5. Start guessing the number.


Project Files

Number_Guessing_Game/ │ ├── guessing_game.py └── README.md


Sample Output

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.


Details of the developer

Name: Shree Jee Class: B.Tech. 2 Year Branch:Electronics and Communication Engineering


Note

This project is created only for learning and practice purposes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages