Commit 4a125802 by BellCodeEditor

save project

parent fe4c30e0
Showing with 0 additions and 5 deletions
...@@ -6,7 +6,3 @@ import random ...@@ -6,7 +6,3 @@ import random
list["石头","剪刀","布"] list["石头","剪刀","布"]
letter=random.choice(list) letter=random.choice(list)
print(letter) print(letter)
if player=="石头"and computer == "剪刀":
print("你赢了")
if player=="剪刀"and computer =="石头":
if else("你输了")
\ 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