Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple solution in Clear category for Ryerson Letter Grade by suic
def ryerson_letter_grade(pct: int) -> str:
grades = ((90, "A+"), (85, "A"), (80, "A-"), (77, "B+"), (73, "B"), (70, "B-"), (67, "C+"), (63, "C"), (60, "C-"), (57, "D+"), (53, "D"), (50, "D-"),)
for p, g in grades:
if pct >= p:
return g
return 'F'
April 22, 2019