# How is Everybody Doing?

#1

lloyd = {
“name”: “Lloyd”,
“homework”: [90.0, 97.0, 75.0, 92.0],
“quizzes”: [88.0, 40.0, 94.0],
“tests”: [75.0, 90.0]
}
alice = {
“name”: “Alice”,
“homework”: [100.0, 92.0, 98.0, 100.0],
“quizzes”: [82.0, 83.0, 91.0],
“tests”: [89.0, 97.0]
}
tyler = {
“name”: “Tyler”,
“homework”: [0.0, 87.0, 75.0, 22.0],
“quizzes”: [0.0, 75.0, 78.0],
“tests”: [100.0, 100.0]
}
def average(numbers):
total = sum(numbers)
total = float(total)/len(numbers)
def get_average(alice):
homework = 0.10average(alice[“homework”]) +
0.30
average(alice[“quizzes”]) +
0.60*average(alice[“tests”])
return homework
if score == 90 or score > 90:
return "A"
elif score ==80 or score > 80:
return"B"
elif score == 70 or score > 70:
return "C"
elif score == 60 or score > 60:
return "D"
else:
return "F"
def get_class_average(class_list):
results = []
for student in class_list:
student = get_average(student)
results.append(student)
return average(results)

class_list = [lloyd,alice,tyler]
print get_class_average(class_list)

error given 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 need help i dont understand i’m not from england and my english sucks a lot sorry

#2

Hi @arcace27805,

You are missing the original statement that you created in Exercise 3: Put It Together.

``````class_list = [lloyd,alice,tyler]
``````

… but Codecademy wants you to name the variable `students`.

#3

thanks dude , i dont know why this statement wasnt here … i did evrerything However it wasnt here thanks again , saw in the error they was asking me students with a S at the end and saying to myself i didnt even write student’s’ btw thx again

#4

It’s really Codecademy that lost that line. For some reason, it does not carry over automatically in the code, so the user has to restore it.

#5