Commit 9abe77c7 by BellCodeEditor

save project

parent d890bb12
Showing with 8 additions and 5 deletions
......@@ -8,9 +8,11 @@ while True:
print("计算机出拳:"+Robort)
if player == Robort:
print("平局")
if player=="石头" and Robort=="剪刀":
elif player=="石头" and Robort=="剪刀":
print("玩家赢")
if player=="剪刀"or Robort=="布"
iprint("玩家赢")
if player==""or Robort=="布"
iprint("玩家赢")
elif player=="剪刀" and Robort=="布":
print("玩家赢")
elif player=="布" and Robort=="石头":
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