Skip to content

Added Number Guessing Game#1

Open
lieutenant-Rohit wants to merge 1 commit into
meghapise07:mainfrom
lieutenant-Rohit:NumberGuessingGame
Open

Added Number Guessing Game#1
lieutenant-Rohit wants to merge 1 commit into
meghapise07:mainfrom
lieutenant-Rohit:NumberGuessingGame

Conversation

@lieutenant-Rohit
Copy link
Copy Markdown

***Add Number Guessing Game in Python

This PR adds a simple number guessing game implemented in Python. The program generates a random number and allows the user to guess it within a limited number of attempts, providing feedback for each guess.

Key Features:

  • Random number generation
  • Input validation
  • Limited attempts with hints (too high / too low)

Complexity:

  • Time: O(n)
  • Space: O(1)

This project is useful for practicing basic Python concepts like loops, conditionals, and user input handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant