player=input("请出拳,你可以出石头/剪刀/布:") print("玩家出拳:"+player) import random list=['剪刀','石头','布'] computer=random.choice(list) print("人机出:"+computer)