Part of the Whole——the code got wrong


#1

what happen???I m confused
**link:**https://www.codecademy.com/courses/python-beginner-en-qzsCL/1/4?curriculum_id=4f89dab3d788890003000096

def get_class_average(students):
results = []
for student in students:
results.append(get_average(student))
return average(rusults)

and it reminds me of “get_class_average([alice]) resulted in an error: global name ‘rusults’ is not defined”


#2

Check your spellings properly.
Since you’ve defined results and not rusults, the code will show an error.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.