Sep-07-2018, 09:26 PM
(This post was last modified: Sep-07-2018, 09:27 PM by Marius2002.)
def merit(a, b, c, d, e, f, m): return ((a * 2000 + b * 1750 + c * 1500 + d * 1250 + e * 1000 + f * 0)/(100 * (a + b + c + d + e + f)) + m) freshman_grades = merit(4, 2, 0, 0, 0, 0, 2.5)There you go! It seems to think that freshman_grades is the error for some reason.