You are viewing a single comment's thread. Return to all comments →
def gradingStudents(grades): r = [] for grade in grades: diff = 5 - grade%5 if grade >= 38 and diff < 3: grade += diff r.append(grade) return r
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 →