Commit caf5cc28 by BellCodeEditor

save project

parent 3ef04763
Showing with 2 additions and 1 deletions
...@@ -6,8 +6,9 @@ a=random.choice(f) ...@@ -6,8 +6,9 @@ a=random.choice(f)
print(f) print(f)
if a==u: if a==u:
print("平局") print("平局")
elif(a=="石头"and u=="布") (a=="剪刀"and u="石头") (a=="布" and u= 剪刀): elif(a=="石头"and u=="布")or (a=="剪刀"and u="石头")or (a=="布" and u= 剪刀):
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