参考代码:
n = int(input()) for _ in range(n): S1, S2 = map(str, input().split()) if S1 == S2: print("Tie") elif S1 == "Rock" and S2 == "Scissors" or S1 == "Scissors" and S2 == "Paper" or S1 == "Paper" and S2 == "Rock": print("Player1") else: print("Player2")
0.0分
0 人评分