Commit 9d8a9631 by BellCodeEditor

save project

parent 518b6268
Showing with 2 additions and 2 deletions
......@@ -7,9 +7,9 @@ AI=random.choice(sb)
print("AI出拳:"+AI)
if player in sb:
if AI==player:
print("平局啦!")
print("平局啦!")
elif (player=="石头" and AI=="剪刀") or (player=='剪刀' and AI=="布") or (player=='布' and AI=="剪刀"):
print("玩家赢!")
print("玩家赢!")
else:
print("AI赢——————————")
else:
......
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