Commit d0f38279 by BellCodeEditor

save project

parent d2de42a0
Showing with 0 additions and 1 deletions
...@@ -10,7 +10,6 @@ print("电脑出拳:"+computer) ...@@ -10,7 +10,6 @@ print("电脑出拳:"+computer)
#结果比较 #结果比较
if player in list: if player in list:
print("输入正确")
if (computer=="石头" and player=="剪刀") or (computer=="剪刀" and player=="布") or (computer=="布" and player=="石头"): if (computer=="石头" and player=="剪刀") or (computer=="剪刀" and player=="布") or (computer=="布" and player=="石头"):
print("电脑获胜") print("电脑获胜")
elif (player=="石头" and computer=="剪刀") or (player=="剪刀" and computer=="布") or (player=="布" and computer=="石头"): elif (player=="石头" and computer=="剪刀") or (player=="剪刀" and computer=="布") or (player=="布" and computer=="石头"):
......
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