Commit 0e56a0cd by BellCodeEditor

auto save

parent 25abb509
Showing with 15 additions and 3 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳 a1 = input("指挥你认罪吗?请回答认罪或者不认:")
print("玩家出拳:"+player) a2 = input("柴可夫斯基你认罪吗?请回答认罪或者不认:")
\ No newline at end of file c=["认罪","不认"]
if (a1 and a2)in c:
if a1=="认罪" and a2=="认罪":
print("都判十年")
elif a1=="认罪" and a2=="不认":
print("指挥判 1 年,柴可夫斯基判 20 年")
elif a1=="不认" and a2=="认罪":
print("指挥判 20 年,柴可夫斯基判 1 年")
else:
print("都判3年")
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