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