6. just weight and see


#1

Please help... i am stuck with the error below

File "python", line 27
quizzes = average(student["quizzes"]
^
SyntaxError: invalid syntax

my code below

def average(numbers):
total = sum(numbers)
total = float(total)
return total/len(numbers)
def get_average(student):
homework = average(student["homework"]
quizzes = average(student["quizzes"]
tests = average(student["tests"]
return homework * 0.1 + quizzes * 0.3 + tests * 0.6

`


#2

if you have a opening parentheses, (, it should have a matching closing parentheses, )


#3

thanks, just solved it


#4