Commit adb564ee by BellCodeEditor

save project

parent 4dc8eac7
Showing with 6 additions and 1 deletions
......@@ -8,4 +8,9 @@ print("人机出拳"+list)
if player in list:
if player==list:
print("平局")
elif (player=="石头"and lambd=="剪刀")or(player=="剪刀" and lambd=="布")or(player=="布" and lambd=="石头")
elif (player=="石头"and lambd=="剪刀")or(player=="剪刀" and lambd=="布")or(player=="布" and lambd=="石头"):
print("恭喜,你胜了")
elif :
print("很遗憾,你输了")
else:
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