Lose to Last Input

AuthorCesar Espinoza
Submission date2017-10-02 17:25:34.264280
Rating2389
Matches played205
Win rate21.95

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

Source code:

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