Commit 8134dd19 by BellCodeEditor

save project

parent 23dfff73
Showing with 10 additions and 0 deletions
player=input("请出拳:石头/剪刀/布:")
print("你出:"+player)
import random
list=["石头","剪刀","布"]
a=random.choice(list)
print("电脑出"+a)
if player == a:
print("平局")
elif player == "石头"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