diy1.py 195 Bytes Edit 1 2 3 4 5 6 7 player = input("请出拳:石头/剪刀/布") print("玩家出拳:" + player) import random list["石头","剪刀","布"] computer = random.choice(list) print("计算机出拳" + computer)