Skip to content

ShehrozAI1000/python-essentials-guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Number Guessing Game

This is a simple Python project that I created while studying the Cisco Python Essentials 1 course.

About the Project

The program is a game where the computer picks a random number between 1 and 100. The player has to guess the correct number.

How it Works

  1. The computer selects a secret number.
  2. The user enters their guess.
  3. If the guess is too low, the program tells the user to try a larger number.
  4. If the guess is too high, the program suggests a smaller number.
  5. The game continues until the user finds the correct number.
  6. At the end, it shows how many attempts the user took to win.

Requirements

To run this game, you only need Python installed on your computer.

How to Run

  1. Download the script.
  2. Open your terminal or command prompt.
  3. Run the command: python your_filename.py

About

A simple number guessing game built in Python as part of the Cisco Python Essentials 1 course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages