Skip to content

Instantly share code, notes, and snippets.

@M-ZubairAhmed
Created April 8, 2016 14:04
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 M-ZubairAhmed/3377fa99e22fe6404e174e8558e86b2e to your computer and use it in GitHub Desktop.
Save M-ZubairAhmed/3377fa99e22fe6404e174e8558e86b2e to your computer and use it in GitHub Desktop.
Left and Right app by IBM made simple
import random
while True:
if (random.randint(1,2) == 1):
print("Right")
#print(random_number)
input("hit enter for next")
if (random.randint(1,2) == 2):
print("Left")
#print(random_number)
input("hit enter for next")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment