LearnPy Hub
← If…Else problems
Easy

Letter Grade

Read a mark (0–100). Print A for 80+, B for 60–79, C for 40–59 and F below 40.

Input

One integer.

Output

One letter.

Sample 1

Input
85
Output
A

Sample 2

Input
60
Output
B
solution.py
Output appears here
Letter Grade · Python practice problem · LearnPy Hub