3 in a row fix2

AuthorAntiDog
Submission date2018-08-07 12:05:31.692030
Rating3066
Matches played267
Win rate26.59

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

Source code:

import random

if input == "":
  i = 0
else:
  i += 1
if i > 9:
  output = random.choice(["R","P","S"])
  i = 0
elif i >= 6:
  output = "R"
elif i >= 3: 
  output = "P"
else:
  output = "S"