Skip to content

billemil/CNA340_Emily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Number Guessing Game

This project employs the use of the random module and for loops with else if conditional statements. This project will generate a random integer in the range 1 to 10, it will allow the user to guess what that integer is 3 times. The first two times the customer guesses, the program will return either: That is too high, That is too low, or That is correct. If the user guesses wrong three times in a row the program will give the correct answer and tell the user that they have lost.

Getting Started

Prerequisites

Number Guessing Game requires Python 3.0 to run, with the random module imported. You will need an IDE such as pycharm.

You can download python and pycharm at these links:

[Download Pycharm](https://www.jetbrains.com/pycharm/download/#section=windows)

[Download Python](https://www.python.org/downloads/)

Running

Once python and your IDE are installed you can run the program with the following command

python NumberGuessing.py

You may also run the program by finding the file icon in file explorer and double clicking it

Thanks

Thank you to Brandon for helping me get this assignment done. And thank you to RTC340 repo for letting me fork and clone from them. And thanks to this syntax page for helping me write this doc Github Syntax Page Thanks to Zak.

About

CNA 340 repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages