Can anyone clarify why I'm getting this error message? Thanks!

# Part of the whole error message: Oops, try again. get_class_average([alice]) resulted in an error: maximum recursion depth exceeded

Why'd you type in

`class_average = average(results)`

Just type in average(results) and see what happens. And also, leave out the list called "student" with all the students' names on it. That's how I did it.

**kiwibp**#4

Ok this worked: https://gist.github.com/bc022f328897e684ef5c

I'm still trying to wrap my head around exactly what the difference is between what I had originally wrote and what actually worked. The first definition below is what I originally wrote and the second, below that, is what I replaced it with.

def get_class_average(students):

results = []

for student in students:

get_average(student)

results.append(student)

return average(results)

def get_class_average(students):

results = []

for student in students :

results.append(get_average(student))

return average(results)

Can anyone help me wrap my head around exactly what the correct code is saying?

**kiwibp**#5

Woops I just realized that my confusion is I am calling two functions I already created a few days ago in the function for this lesson..