解题思路:
注意事项:
参考代码:
n = int(input())
for i in range(n):
a,b = input().split()
if (a=='Rock'and b=='Scissors')or(a=='Scissors' and b=='Paper')or(a=='Paper'and b=='Rock'):
print("Player1")
elif (a=='Rock'and b=='Rock')or(a=='Scissors' and b=='Scissors')or(a=='Paper'and b=='Paper'):
print("Tie")
else:
print("Player2")
0.0分
0 人评分