You are viewing a single comment's thread. Return to all comments →
That's two, and it could be condensed to none if you wanted.
print((grade, grade - (grade % -5))[grade >= 38 and grade % 5 > 2])
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 →
That's two, and it could be condensed to none if you wanted.