Commit b420e3f4 by BellCodeEditor

save project

parent b9d47af8
Showing with 4 additions and 4 deletions
...@@ -6,7 +6,7 @@ compcuter=random.choice(list) ...@@ -6,7 +6,7 @@ compcuter=random.choice(list)
print(compcuter) print(compcuter)
if player=compcuter: if player=compcuter:
print("平局") print("平局")
: elif (player="石头"and compcuter="剪刀")or(player="剪刀"and compcuter="布")or(player="布" and compcuter="石头") :
print("胜利")
else: else:
pass print("失败")
\ 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