We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
grade_1=[]
for i in grades:
if i>=38:
if (math.ceil(i/5)*5)-i < 3:
grade_1.append(((math.ceil(i/5)*5)))
else:
grade_1.append(i)
else:
grade_1.append(i)
return grade_1
Cookie support is required to access HackerRank
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 →
Here is my solution in python:
Write your code here