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