6. Just Weight and See


#1
              MY CODE IS :

def get_average(student):
homework = average(studen["homework"])
quizzes = average(student["quizzes"])
tests = average(student["tests"])
return sum(homework*0.1 + quizzes*0.3 + test*0.6)

print get_average(student)

           ERROR IS :

Oops, try again. get_average(alice) raised the following error: global name 'studen' is not defined

I CANT UNDERSTAND WHY IS NOT DEFINED
where im wrong :@


#2

here:

homework = average(studen["homework"])

you misspelled student. You don't need sum() just add by using + (basic math)


#3

i have repair that but still the same


#4

@stetim94 i figure it out .. thnks (y)


#5