Commit 5ec21b10 by BellCodeEditor

save project

parent 0012e7df
Showing with 10 additions and 0 deletions
......@@ -8,3 +8,12 @@ import random
list=["石头","剪刀","布"]
computre=random.choice(list)
print(computre)
if player==computre
print("平局")
else if (player=="石头"and computer=="剪刀")
(player=="剪刀"and computer=="布")
(player=="布" and computer=="石头")
print("恭喜,赢了")
else:
print("你输了")
\ 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