Commit 2a6dadf0 by BellCodeEditor

save project

parent 220fe62b
Showing with 27 additions and 0 deletions
# 玩家出拳
sb=input("出啥")
print("玩家出"+sb)
import random
dad=["石","剪刀🗡","‍布"]
qqqq=random.choice(dad)
print("机器人出"+qqqq)
if sb==qqqq:
print("平")
elif sb=="剪刀🗡" and qqqq=="‍布":
print("赢了")
elif sb=="石" and qqqq=="剪刀🗡":
print("赢了")
elif sb=="布" and qqqq=="石":
print("赢了")
else:
print("输了")
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