Author | Varan |
Submission date | 2011-06-09 08:50:42.068189 |
Rating | 1829 |
Matches played | 5111 |
Win rate | 17.41 |
Use rpsrunner.py to play unranked matches on your computer.
if input == "":
choices = [('R', 0), ('P', 0), ('S', 0)]
sorted(choices, key=lambda choice: choice[1])
choices[0] = (choices[0][0], choices[0][1] + 1)
output = choices[0][0];