Commit ae8155ca by BellCodeEditor

save project

parent 220fe62b
Showing with 14 additions and 0 deletions
# 玩家出拳
player = input("请出拳(鸡汤,穿山甲,双料特工):")
print("玩家出拳:"+player)
import random
list=["鸡汤","穿山甲","双料特工"]
崔逝员=random.choice(list)
print(崔逝员)
if player==崔逝员:
print("平局")
elif (player=="鸡汤" and 崔逝员=="穿山甲") or (player=="穿山甲" and 崔逝员=="双料特工") or (player=="双料特工" and 崔逝员=="鸡汤"):
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