You are viewing a single comment's thread. Return to all comments →
A simple and clean solution with only one print statement and minimal conditionals.
if grade >= 38: if grade % 5 == 3: grade += 2 elif grade % 5 == 4: grade += 1 print(grade)
Grading Students
You are viewing a single comment's thread. Return to all comments →
A simple and clean solution with only one print statement and minimal conditionals.