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.
In line 50 you' ve written get_class_average instead of get_average
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.
results = 
for student in students:
results = 
for student in students :
Can anyone help me wrap my head around exactly what the correct code is saying?
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..