Commit d7d16a44 by BellCodeEditor

save project

parent 82aaf1bf
Showing with 3 additions and 2 deletions
...@@ -7,7 +7,7 @@ b=random.choice(list) ...@@ -7,7 +7,7 @@ b=random.choice(list)
print(b) print(b)
if a==b: if a==b:
print("平局") print("平局")
eilf (a=="石头" and b=="剪刀")or(a=="布" and b=="石头") or(a=="剪刀" and b=="布"): elif (a=="石头" and b=="剪刀")or(a=="布" and b=="石头") or(a=="剪刀" and b=="布"):
print("I win!") print("I win")
else: else:
print("You lose") print("You lose")
\ No newline at end of file
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