Commit c5cbf5c6 by BellCodeEditor

save project

parent 1363a597
Showing with 2 additions and 1 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 == "剪刀"))
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