Commit a0db0ec6 by BellCodeEditor

save project

parent 853f4397
Showing with 11 additions and 6 deletions
fk=input("给爷出")
print("玩家出拳:"+fk)
f=input("给爷出")
print("玩家出拳:"+f)
import random
list=["石头","剪刀","布"]
print(random.choice(list))
cpt=random.choice(list)
print(cpt)
if f==cpt:
print("平局")
elif (f=="石头" and cpt=="剪刀") or (f=="布" and cpt=="石头" or f=="剪刀" and cpt=="布"):
print("你赢了")
else:
print("你输了")
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