score = int(input('Please input your score : '))
if 90<= score <=100:
print('A')
elif 80< score < 90:
print('B')
elif 60<= score <= 80:
print('C')
elif score<60:
print('D')
else:
print('Input was Wrong!')
Python学习之score
于 2019-05-21 11:12:32 首次发布