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
- Input: marks = 95Output: "A"
- Input: marks = 62Output: "C"
- Input: marks = 12Output: "F"
Examples use JSON: true/false/null are True/False/None in Python.