diy1.py 160 Bytes Edit 1 2 3 4 5 6 7 # 玩家出拳 i=input("石头/剪刀/布:") print("玩家出"+i) import random o=["石头","剪刀","布"] j=random.choice(o) print("计算机出"+j)