import random
a='y'
while a=='y':
ran=random.randint(0,2)
computer=1
if ran==0:
computer='rock'
elif ran==1:
computer='paper'
elif ran==2:
computer='scissors'
player=input('Choose rock, paper or scissor: ')
if player==computer:
print('Its a Draw')
elif player=='rock':
if computer=='paper':
print('Computer hoose paper, Computer Wins!')
else:
print('Computer Choose scissor, You Win!')
elif player=='paper':
if computer=='scissor':
print('Computer choose scissor, Computer Wins!')
else:
print('Computer Choose rock, You Win!')
elif player=='scissors':
if computer=='rock':
print('Computer choose rock, Computer Wins!')
else:
print('Computer Choose paper, You Win!')
a=input('Do you want to play more?Y/N : ')
a=a.lower()