Commit 65fbf88f by BellCodeEditor

auto save

parent 1c2838f8
Showing with 2 additions and 9 deletions
......@@ -3,12 +3,4 @@ print("玩家出拳:"+player)
import random
list=["石头","剪刀","布"]
comupter=random.choice(list)
print(comupter)
if player==comupter:
print("平局")
elif (player=="布" and comupter=="石头") or (player=="石头" and comupter=="布") or (player=="剪刀" and comupter=="布")
print("你赢了")
else print("你输了"):
print(comupter)
\ 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