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.
end = []
for i in grades:
if i < 38:
end.append(i)
else:
if i % 5 == 4:
end.append(int(i)+1)
elif i % 5 == 3:
end.append(int(i)+2)
else:
end.append(i)
return end
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 →
try this: