diy1.py 159 Bytes Edit 1 2 3 4 5 player=input("请出拳:石头/剪刀/布")# 玩家出拳 print("玩家出拳:"+player) from random import * z=["石头","剪刀","布"] print(choice(z))