Skip to content

Decisions · routine

Letter grade

Write letter_grade(score) for a score from 0 to 100: 90 and above is "A", 80 and above "B", 70 and above "C", 60 and above "D", anything lower "F".

Run adds print(letter_grade(95)) after your code, to try it.

Stuck on the idea rather than the code? The Making decisions lesson walks through it.