Python学习之score

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!')
posted @ 2019-05-21 11:13  指剑  阅读(2201)  评论(0)    收藏  举报