You are viewing a single comment's thread. Return to all comments →
Python 1 liner:
def gradingStudents(grades): return [grade if (grade < 38) or (5 * round(grade/5) < grade) else 5 * round(grade/5) for grade in 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 1 liner: