Hey guys please help me out am stuck at #Just weight and see
Am getting an error message ......."Oops, try again. get_average(alice) raised the following error: 'float' object is not iterable...."
Here's my code,
def get_average(student) :
homework = average(student["homework"])
quizzes = average(student["quizzes"])
tests = average(student["tests"])
weight = homework * .1 + quizzes * .3 + tests * .6 return sum(weight)
where's the problem?