Commit 2fc450fc by BellCodeEditor

save project

parent 60637453
Showing with 4 additions and 3 deletions
......@@ -10,10 +10,10 @@ ad=random.choice(let)
print(ad)
if player in let:
if ad==player:
print("平局")
print("平局")
elif (ad=="石头" and player=="布") or (ad=="布" and player=="剪刀") or (ad=="剪刀" and player=="石头"):
print("你赢了")
print("你赢了")
else:
print("你败了")
print("你败了")
else:
print("你输错了")
\ 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