Commit 7e1e8bd3 by BellCodeEditor

save project

parent 8c08d813
Showing with 9 additions and 14 deletions
a1=input("指挥认罪吗?")
a2=input("斯基认罪吗?")
list=["认罪","不认罪"]
if a1 in list and a2 in list:
if(a1=="认罪" and a2=="认罪"):
print("都判十年")
elif(a1=="认罪" and a2=="不认罪")
print("指挥1年,斯基20年)
elif(a1=="不认罪" and a2=="认罪"):
print("指挥20年,斯基1")
else:
print("都判3")
a1 = input("指挥认罪吗?")
a2 = input("斯基认罪吗?")
if a1 == '认罪' and a2 == '认罪':
print("都判十年")
elif a1 == '认罪' and a2 == '不认罪'
print("指挥1年,斯基20年)
elif a1 == '不认罪' and a2 =='认罪':
print("指挥20年,斯基1")
else:
print("输入不合法")
\ No newline at end of file
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