A fun console-based game where you try to guess the number chosen by the computer!
-
Choose a difficulty level:
- Easy: Range 1–10, 5 attempts
- Medium: Range 1–50, 7 attempts
- Hard: Range 1–100, 10 attempts
-
The computer picks a random number within the chosen range.
-
You try to guess it! After each guess, you’ll get hints — “Too high” or “Too low”.
-
Win if you guess correctly before running out of attempts.
python3 guess_the_number.py