Commit 6b2715cc by BellCodeEditor

auto save

parent 836cba06
Showing with 10 additions and 0 deletions
a1 = input("犯人1是否认罪")
a2 = input("犯人2是否认罪")
if a1 == "yes" and a2 == "no":
print("犯人1判一年,犯人2判二十年")
if a1 == "yes" and a2 == "yes":
print("两人均判十年")
if a1 == "no" and a2 == "yes":
print("犯人2判一年,犯人1判二十年")
if a1 == "no" and a2 == "no":
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