Beat Last Input

AuthorM.D
Submission date2011-05-21 11:02:10.524389
Rating4519
Matches played7381
Win rate40.36

Use rpsrunner.py to play unranked matches on your computer.

Source code:

if not input:
    output = 'P'
else:
    output = {'R':'P', 'P':'S', 'S':'R'}[input]