Commit 767ee2f6 by BellCodeEditor

save project

parent 5557589e
Showing with 1 additions and 1 deletions
import random import random
player=input("玩家请出拳:石头剪刀布") player=input("玩家请出拳:石头剪刀布")
print("玩家出拳"+player) print("玩家出拳"+player)
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
compuret=random.choice(list) compuret=random.choice(list)
print("电脑出拳"+compuret) print("电脑出拳"+compuret)
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