-
-
Save gkalemis/c2456e3124fa710ac9fa83335f42f0da to your computer and use it in GitHub Desktop.
module3 - section2 - page6
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
# rock paper scissors random pick | |
import random | |
my_list = ["rock", "paper", "scissors"] | |
random_index = random.randrange(3) | |
print(my_list[random_index]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment