if循环嵌套 有一部分代码运行没有结果是为什么?

写了一份简单的猜拳的代码
运行的时候 玩家的结果 和 对手的结果没出来
请问给位大佬 是什么原因 怎样才能出结果

#石头 -- 0  剪刀 --- 1 布  ---2
import random
num = random.randint(0,2)
player = int(input("玩家出招"))
if num == player:
    print('平局')
elif (player == 0 and num == 1) or (player == 1 and num == 2) or (player == 2 and num == 0):
    print('玩家获胜')
elif (player == 1 and num == 0) or (player == 1 and num == 2) or (player == 2 and num == 0):
    print('电脑获胜')
    if num == 0:
        print("对手出石头")
    elif num == 1:
        print("对手出剪刀")
    elif num == 2:
        print('对手出布')

    if player == 0:
        print("你出石头")
    elif player == 1:
        print("你出剪刀")
    elif player == 2:
        print('你出布')
else:
    print('请按规则出招')
elif (player == 1 and num == 0) or (player == 1 and num == 2) or (player == 2 and num == 0):
->
elif (player == 1 and num == 0) or (player == 2 and num == 1) or (player == 0 and num == 2):