Commit 90437144 by BellCodeEditor

auto save

parent 60792ef4
Showing with 95 additions and 2 deletions
P=input("wwwwWW") p=input("玩家出拳(石头/剪刀/布):")
print("玩家出拳是:"+p)
import random
list=["石头","剪刀","布"]
c=random.choice(list)
print("电脑出拳是:"+c)
if p==c:
print("平局")
elif ((p=="石头" and c=="剪刀")or(p=="剪刀" and c== "布")or(p=="布" and c=="石头")):
print("胜利")
else :
print("失败")
...@@ -10,7 +104,6 @@ P=input("wwwwWW") ...@@ -10,7 +104,6 @@ P=input("wwwwWW")
import random
......
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