这个题目不会做。不知道怎么用嵌套套进去。大家帮我看看,希望有详细的解答
就是if...else啊
n = int(input("请输入一个在0-100之间的数字:")
if n>=80:
print("成绩为{},证书等级为优秀".format(n))
elif n>=60:
print("成绩为{},证书等级为及格".format(n))
else:
print("成绩为{},需继续努力".format(n))
score = int(input("请输入0-100"))
if score >= 80:
print("优秀")
elif score >= 60:
print("及格")
else
print("没有证书")