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.
Grading Students
Grading Students
Sort by
recency
|
3867 Discussions
|
Please Login in order to post a comment
Simple one-liner in Python:
return [i + 5 - i%5 if i > 37 and i%5 > 2 else i for i in grades]
It is working code in C language wrutten by me. Suggest me if any changes needed or if anything i did wrong because I am still learning and it helps me a lot.
code in cpp:
function gradingStudents(grades) { // Write your code here const result=[] for (let i = 0; i
}