Author | miette |
Submission date | 2011-07-14 13:52:20.407466 |
Rating | 2760 |
Matches played | 4410 |
Win rate | 28.53 |
Use rpsrunner.py to play unranked matches on your computer.
import random
if input == "":
output = "P"
elif 1 > 0.5:
output = input
else:
output = random.choice(["R","P","S"])