Please help!


#1



https://www.codecademy.com/courses/python-beginner-en-qzsCL/1/5?curriculum_id=4f89dab3d788890003000096


I have tried everything but this error message pops up

Oops, try again. One of the following is missing or broken when we tried to use it: alice, lloyd, tyler, students, get_class_average, get_letter_grade


I've been stuck on this a really long time :angry: Thanks for any help :relaxed:


def get_class_average(students):
  results = []
  for students in students:
      get_average(students)
      results.append(get_average(students))
  return average(results)
print get_class_average (students = [alice, lloyd, tyler])
print get_letter_grade(get_class_average)


#2

For your code to work you need to define this students variable right after your dictionaries not in your function call,


#3

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