You are viewing a single comment's thread. Return to all comments →
My Python solution
def gradingStudents(grades): for grade in grades: yield grade + 5 - grade % 5 if grade % 5 > 2 and grade >= 38 else grade
Seems like cookies are disabled on this browser, please enable them to open this website
Grading Students
You are viewing a single comment's thread. Return to all comments →
My Python solution