Grade Boundary Classifier

Using only map(), filter() and lambda — no loops or list comprehensions — classify a list of exam scores into grade boundaries: "Distinction" for 90 and above, "Merit" for 70–89. A score below 70 must not appear in the result at all.

main.py
Loading editor…

Console

Run your code to see output here.

Hints