Created
April 8, 2016 14:04
-
-
Save M-ZubairAhmed/3377fa99e22fe6404e174e8558e86b2e to your computer and use it in GitHub Desktop.
Left and Right app by IBM made simple
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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