Log in
← All problems

Exam grade

easyBasics10 XP

Return the grade for marks out of 100: "A" for 90 and above, "B" for 75–89, "C" for 50–74 and "F" below 50.

Examples

Examples use JSON: true/false/null are True/False/None in Python.

Run examples checks the examples above. Submit also runs 7 hidden tests.