You are viewing a single comment's thread. Return to all comments →
Get some fun with Python 3::
return [n if n < 38 or n % 5 < 3 else (n + 5 - (n % 5)) for n 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 →
Get some fun with Python 3::