- The computer selects a random number between 1 to 100.
- You have to guess the number.
- When your guess is greater than the actual number, the computer tells you to enter a lower number.
- Similarly when your guess is less than the actual number, the computer tells you enter a higher number.
- The process keeps going until you guess the correct number.
- After the correct number is guessed, the result is printed which shows how many attempts you have taken to guess it.
- Make sure you have Python (Version 3.6 or higher) installed in your system.
- Just download and run the main.py file.