Author | leowu2017 |
Submission date | 2017-12-02 17:04:01.626890 |
Rating | 4333 |
Matches played | 311 |
Win rate | 40.51 |
Use rpsrunner.py to play unranked matches on your computer.
if not input:
beat = {'R':'P', 'P':'S', 'S':'R'}
output = 'R'
else:
output = beat[input]