This program has been disqualified.
Author | sn3098 |
Submission date | 2011-06-09 05:26:53.907315 |
Rating | 0 |
Matches played | 2 |
Win rate | 0.0 |
import random
if input=='':
hy=["R","P","S"]
count=0
if input=='R':
ex=['R']*random.randint(1,5)
hy.extend(ex)
elif input=='P':
hy.extend(['S'])
else:
hy.extend(['P'])
output = random.choice(hy)
if count %7 ==0:
hy=["R","P","S"]
hy.append(input)
count +=1