Project 1

Number Guessing Game

A Number Guessing Game is a simple Python project where the computer randomly selects a number, and the player has to guess it within a certain number of attempts.

How does it work?

  1. The program randomly selects a number within a given range (e.g., 1 to 100).
  2. The player enters a guess.
  3. The program provides feedback:
  4. The game continues until the player guesses correctly or runs out of attempts.
  5. The game tracks the number of attempts and displays a score at the end.

Note: You have only 7 chances to guess the number.