You are viewing a single comment's thread. Return to all comments →
Python
def gradingStudents(grades): new_grades = [] for g in grades: if g<38: new_grades.append(g) else: new_g = ((g//5)+1)*5 if new_g - g < 3: new_grades.append(new_g) else: new_grades.append(g) return new_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 →
Python