Commit 80067a79 by BellCodeEditor

auto save

parent eeb5c1a8
Showing with 5 additions and 4 deletions
......@@ -7,9 +7,9 @@ print("电脑出"+computer)
if player in list
if player==computer:
print("平局")
elif player=="石头" and computer=="布":
print("电脑胜")
elif player=="石头" and computer=="剪刀":
elif(player=="石头" and computer=="剪刀") and ( player=="剪刀" and computer=="布")
print("玩家胜")
else
else
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