from random import randint
player = input('rock (r), paper (p) or scissors (s)')
print(player, 'vs',end=' ')
chosen = randint(1,3)
#print (chosen)
if chosen == 1:
computer = 'r'
elif chosen == 2:
computer = 'p'
else:
computer = 's'
print(computer)
while player!= 'q':
if player == computer:
print('DRAW')
print('Creator Oguzhan kiymet')
elif player == 'r' and computer == 's':
print('Player wins good game')
print('Creator Oguzhan kiymet')
elif player == 'r' and computer == 'p':
print('Computer win looser !!')
print('Creator Oguzhan kiymet')
elif player == 'p' and computer == 'r':
print('Player wins good game')
print('Creator Oguzhan kiymet')
elif player == 'p' and computer == 's':
print('Computer wins looser!!')
print('Creator Oguzhan kiymet')
elif player == 's' and computer == 'p':
print('Player wins good game')
print('Creator Oguzhan kiymet')
elif player == 's' and computer == 'r':
print('Computer wins looser!!')
print('Creator Oguzhan kiymet')
player = input('rock (r), paper (p) or scissors (s)')
print(player, 'vs',end=' ')
chosen = randint(1,3)
if chosen == 1:
computer = 'r'
elif chosen == 2:
computer = 'p'
else:
computer = 's'
print(computer)