代码如下:
a=input('请输入分数:')标签:分数,elif,判断,int,score,print,级别 From: https://www.cnblogs.com/libinghui/p/17810054.html
score=int(a)
if score>=90:
print('A')
elif score>=80:
print('B')
elif score>=70:
print('C')
elif score>=60:
print('D')
else:
print('E')
代码如下:
a=input('请输入分数:')标签:分数,elif,判断,int,score,print,级别 From: https://www.cnblogs.com/libinghui/p/17810054.html
score=int(a)
if score>=90:
print('A')
elif score>=80:
print('B')
elif score>=70:
print('C')
elif score>=60:
print('D')
else:
print('E')