A simple Python project where the computer selects a random number and the user tries to guess it.
- User enters a start and end range
- Computer selects a random number in that range
- Gives hints: "Too high" or "Too low"
- Tracks number of attempts
- Beginner-friendly
- Install Python
- Download or clone this repository
- Open the terminal inside the project folder
- Run: python number_guessing_game.py
- Python basics
- Loops
- Conditions
- Functions
- random module
- Error handling
===== Number Guessing Game =====
Enter start of the range: 1
Enter end of the range: 50
I have selected a number between 1 and 50. Try to guess it!
Enter your guess: 25
Too low! Try again.
Enter your guess: 40
Too high! Try again.
Enter your guess: 33
Correct! You guessed the number in 3 attempts.
This project is perfect for beginners who want to practice Python and understand basic logic building.