Author | JoshB |
Submission date | 2013-10-01 22:46:34.420883 |
Rating | 2560 |
Matches played | 672 |
Win rate | 26.34 |
Use rpsrunner.py to play unranked matches on your computer.
from random import choice
choices = ["R", "P", "S"]
if input == "":
output = choice(choices)
elif input == "R":
output = "R"
elif input == "P":
output = "P"
elif input == "S":
output = "S"