Python做的点球游戏defpq():b=random.randint(1,3)#输出扑球方向ifb==1:print('扑球方向左')elifb==2:print('扑球方向中')else:print('扑球方向右')returnbdefsm2():b=random.randint(1,3)#输出电脑射门方向ifb==1:print('射门方向左')el