Funda swallow — the house mark in royal blueFundatryfunda.com
BetaUnder construction. Questions are being reviewed by teachers — enjoy the free practice in the meantime.

← All Computer Science

Python basics · Exercise

Grade from a mark

A school grades O-Level marks like this: 80-100 = 'A', 70-79 = 'B', 60-69 = 'C', 50-59 = 'D', below 50 = 'U'. Write a function grade_for_mark(mark) that returns the grade letter for a mark. Hint: Work from the top band downwards with if / elif / else.

Funda swallow, in gold

Excellence or Nothing

Funda ZIMSEC is in review: every question is an original draft, checked by a Zimbabwean teacher before it counts. Funda is an independent study product and is not affiliated with ZIMSEC.