Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 891 Bytes

README.md

File metadata and controls

16 lines (16 loc) · 891 Bytes

Number-guessing-game forthebadge

This is a simple number guessing game made using Python.


How to play

  1. The computer selects a random number between 1 to 100.
  2. You have to guess the number.
  3. When your guess is greater than the actual number, the computer tells you to enter a lower number.
  4. Similarly when your guess is less than the actual number, the computer tells you enter a higher number.
  5. The process keeps going until you guess the correct number.
  6. After the correct number is guessed, the result is printed which shows how many attempts you have taken to guess it.

Requirements

  1. Make sure you have Python (Version 3.6 or higher) installed in your system.
  2. Just download and run the main.py file.

Thank You!