Commit 08efb969 by BellCodeEditor

save project

parent 7993255d
Showing with 1087 additions and 1 deletions
......@@ -6,7 +6,1093 @@ ccc=random.choice(abc)
print("电脑出拳"+ccc)
if player==ccc:
print("平局")
elif(player=="剪刀" and ccc=="布") or (player=="剪刀" and ccc=="布")
elif(player=="剪刀" and ccc=="布") or (player=="石头" and ccc=="剪刀") or (player=="剪刀" and ccc=="石头"):
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