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