score=int(input("Please input a score:"))
if 100>=score>=90:
    print("A")
elif 90>=score>=80:
    print("B")
elif 80>=score>=70:
    print("C")
elif 70>=score>=60:
    print("D")
elif 60>=score>=0:
    print("E")
else:
    print("Error!")
posted on 2019-03-28 15:55  岁月流风  阅读(238)  评论(0编辑  收藏  举报