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