条件:
# 成绩计算*************************************************************************************
# 输入一个成绩,然后进行判断。
# 要求显示的结果:
# 如果成绩在[0
# 60]之间
# 不及格
# 如果成绩在[60
# 70)之间
# 等级是D
# 如果成绩在[70
# 80)之间
# C
# 如果成绩在[80
# 90)之间
# B
# 如果成绩在[90 100]之间
# A
#
# 可以使用if... else ...
# 组合(不使用elif)
# 也可以使用if... elif ...
# 组合
********************************************************************************************************************
while True:
score = input('你的成绩是:')
score = int(score)
if score >=0 and score< 60:
print('成绩不及格,补考')
elif score >= 60 and score < 70:
print('成绩为D')
elif score >=70 and score < 80:
print('成绩为C')
elif score >= 80 and score