Skip to content

Instantly share code, notes, and snippets.

@joetechem
Created January 10, 2017 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joetechem/6778b8fbab762927ec7d34ef9559bc13 to your computer and use it in GitHub Desktop.
Save joetechem/6778b8fbab762927ec7d34ef9559bc13 to your computer and use it in GitHub Desktop.
random_number_start.py
import random # importing the random module
number = random.randint(1, 100) # were are creating a variable to equal an array (or range) of numbers for the computer to choose from
GameRunning = True
while True: # make a loop
guess = # don't forget your indents
# Your condition statements go below here:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment