Commit b7337a0b by BellCodeEditor

save project

parent 70187df7
Showing with 3 additions and 3 deletions
...@@ -8,11 +8,11 @@ while True: ...@@ -8,11 +8,11 @@ while True:
print("该我了"+c) print("该我了"+c)
if p == ai: if p == ai:
print("小伙子不错,平局") print("小伙子不错,平局")
elif p == "石头" c == "剪刀" elif p == "石头" and c == "剪刀":
print("woc,你赢了") print("woc,你赢了")
elif p == "布" c == "石头" elif p == "布" and c == "石头":
print("woc,你赢了") print("woc,你赢了")
elif p == "剪刀" c == "布" elif p == "剪刀" and c == "布":
print("woc,你赢了") print("woc,你赢了")
else: else:
print("噫,你输了") 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