diy1.py 140 Bytes Edit 1 2 3 4 5 6 import random player=input("石头\剪刀\布") print("玩家出"+player) list=["石头","剪刀","布"] j=random.choice(list) print(j)