Commit faa0591e by BellCodeEditor

save project

parent b04b0b5e
Showing with 3 additions and 3 deletions
......@@ -2,11 +2,11 @@ a1=input("指挥认罪吗?")
a2=input("斯基认罪吗?")
list=["认罪","不认罪"]
if a1 in list and a2 in list:
if a1=="认罪"and a2=="认罪":
if a1=="认罪" and a2=="认罪":
print("都判十年")
elif a1=="认罪"and a2=="不认罪"
elif a1=="认罪" and a2=="不认罪"
print("指挥1年,斯基20年)
elif a1=="不认罪"and a2=="认罪":
elif a1=="不认罪" and a2=="认罪":
print("指挥20年,斯基1")
else:
print("都判3")
......
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