Commit 4a125802 by BellCodeEditor

save project

parent fe4c30e0
Showing with 2 additions and 6 deletions
...@@ -5,8 +5,4 @@ print("请玩家出拳:"+player) ...@@ -5,8 +5,4 @@ print("请玩家出拳:"+player)
import random import random
list["石头","剪刀","布"] list["石头","剪刀","布"]
letter=random.choice(list) letter=random.choice(list)
print(letter) print(letter)
if player=="石头"and computer == "剪刀": \ No newline at end of file
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