Commit 0dcf2d2c by BellCodeEditor

save project

parent 43c37269
Showing with 5 additions and 0 deletions
import random import random
play = input("在(石头/剪刀/布)中选择") play = input("在(石头/剪刀/布)中选择")
print("玩家出拳:"+play) print("玩家出拳:"+play)
playa = ["石头","剪刀","布"]
a = random.choice(playa)
print("电脑出拳:"+a)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment