Commit f233ec29 by BellCodeEditor

save project

parent 42d16ce8
Showing with 9 additions and 0 deletions
......@@ -8,3 +8,12 @@ print("玩家出拳:"+player)
list = ("剪刀","石头","布")
com = random.choices(list)
print("电脑出拳:"+com)
if player == com:
elif player == "布"and com == "石头":
("你赢了")
elif player == "剪刀"and com == "布":
("你赢了")
elif player == "石头"and com == "剪刀":
("你赢了")
esle ("你输了")
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