get_average(alice) returned 227.4 instead of the expected 91.15
I thought it would be the correct code. Instead it keeps giving me this error or something similar. This is the most common error. I have already spent over a hour on it and I need help.
Replace this line with your code. def get_average(student): homework = average(student["homework"]) * 0.1 quizzes = average(student["quizzes"]) * 0.3 tests = average(student["tests"]) * 0.6 return homework+quizzes+tests