This program has been disqualified.
Author | AntiDog |
Submission date | 2018-08-07 10:01:41.081100 |
Rating | 4588 |
Matches played | 1 |
Win rate | 0.0 |
import random
moves = {"S":"P","P":"R","R":"P"}
output = random.choice(["R","P","S"])
if input is None:
output = random.choice(["R","P","S"])
else:
if (len(input)+random.choice([0,1,2])) % 3 == 0:
output = random.choice(["R","P","S"])
else:
last = input[len(input)-2]
output = moves[last]