score = int(input())

if(score >= 90 and score <= 100):
    print('A')
elif(score >= 80 and score <= 89):
    print('B')
elif(score >= 70 and score <= 79):
    print('C')
elif(score >= 60 and score <= 69):
    print('D')
else:
    print('F')

'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글

Baekjoon 10871번(python)  (0) 2019.04.27
Baekjoon 10817번(python)  (0) 2019.04.27
Baekjoon 15552번(python)  (0) 2019.04.27
Baekjoon 11721번(python)  (0) 2019.04.25
Baekjoon 11720번(python)  (0) 2019.04.25