Commit 45a676a4 by BellCodeEditor

save project

parent 781e31f5
Showing with 5 additions and 5 deletions
...@@ -4,10 +4,10 @@ computer=random.choice(list) ...@@ -4,10 +4,10 @@ computer=random.choice(list)
print(computer) print(computer)
if computer==player: if computer==player:
print(平局,***k) print(平局,***k)
elif computer"石头" and player="布" elif computer"石头" and player="布":
print(Win) print(Win)
elif computer="布" and player="剪刀" elif computer="布" and player="剪刀":
print(win) print(win)
elif computer="剪刀" and player="石头" elif computer="剪刀" and player="石头":
print(win) print(win)
else print(Lose) else print(Lose):
\ 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