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