Return 'A' for >=90, 'B' for >=80, 'C' for >=70, 'D' for >=60, else 'F'.
Write grade(score).
Starter:
def grade(score):
# TODO
pass
Solve it interactively in your browser (no setup), check your answer instantly, and keep your daily streak going on IWTLP: https://iwtlp.com/challenge
Top comments (0)