Commit 1363a597 by BellCodeEditor

save project

parent 8b7a5a0d
Showing with 3 additions and 2 deletions
......@@ -7,7 +7,7 @@ tt=random.choice(tian)
print("机器出拳:"+tt)
if abc==tt:
print("平局")
#elif ((abc=="剪刀" and tt=="布") or (abc=="布" and tt=="石头") or (abc=="石头" and tt == "剪刀")):
#print("玩家赢!")
elif(abc=="剪刀" and tt=="布") or (abc=="布" and tt=="石头") or (abc=="石头" and (tt == "剪刀"))
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