wynner4

This program has been disqualified.


Authorsn3098
Submission date2011-06-09 05:20:35.503579
Rating770
Matches played2
Win rate50.0

Source code:

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)