Simple Test 5

AuthorInferno
Submission date2011-06-10 17:37:24.836218
Rating2063
Matches played5278
Win rate23.97

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

Source code:

import random
if input == "":
    l = ['R']*random.randrange(1,10) + ['P']*random.randrange(1,10) + ['S']*random.randrange(1,10)
output = l.pop(0)
l.append(output)