Commit d9def058 by BellCodeEditor

save project

parent 85642fa4
Showing with 1 additions and 1 deletions
...@@ -7,7 +7,7 @@ print(a2) ...@@ -7,7 +7,7 @@ print(a2)
if a1 in list1: if a1 in list1:
if a1==a2: if a1==a2:
print("平") print("平")
elif:(a1=="布" and a2=="拳头")or(a1=="剪刀" and a2=="布")or(a1=="石头" and a2=="剪刀") elif(a1=="布" and a2=="拳头")or(a1=="剪刀" and a2=="布")or(a1=="石头" and a2=="剪刀"):
print("胜") print("胜")
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