Commit 9300ea4b by BellCodeEditor

save project

parent 1055c07e
Showing with 2 additions and 2 deletions
...@@ -6,4 +6,4 @@ liebiao=["石头","剪刀","布"] ...@@ -6,4 +6,4 @@ liebiao=["石头","剪刀","布"]
print("电脑出拳"+computer) print("电脑出拳"+computer)
if player==computer: if player==computer:
print("平局") print("平局")
elif player elif (玩家=="石头" and 电脑=="剪刀") or 玩家=="剪刀"
\ No newline at end of file \ 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