Commit 56682dd1 by BellCodeEditor

save project

parent 722b63fe
Showing with 1 additions and 1 deletions
......@@ -5,7 +5,7 @@ import random
A=["石头","剪刀","布"]
b=random.choice(A)
print("电脑出拳:"+b)
if S==b
if S==b:
print("平局")
elif S=="石头" and b=="剪刀":
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