You are viewing a single comment's thread. Return to all comments →
Python 3 Kindly ignore the return indentation. I don't know why, it is not getting deleted
def gradingStudents(grades): for i in range(len(grades)): if grades[i] < 38: continue next_round = ((grades[i]//5)+1)*5 if (next_round - grades[i]) <3: grades[i] = next_round return 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 3 Kindly ignore the return indentation. I don't know why, it is not getting deleted