Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
zip(*iterables) solution in Clear category for Ryerson Letter Grade by David_Jones
def ryerson_letter_grade(pct):
for letter_grade, percentage in zip(
'A+ A A- B+ B B- C+ C C- D+ D D- F'.split(),
(90, 85, 80, 77, 73, 70, 67, 63, 60, 57, 53, 50, 0)
):
if pct >= percentage:
return letter_grade
June 30, 2019