I’m on 5/9 “It’s ok to be average”

And I’m sure I’m not formatting this post properly, but I can’t figure out this question AT ALL.

So I can make it do this:

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]

}

# Add your function below!

print(lloyd[“name”],sum(lloyd[“homework”])/len(lloyd[“homework”]),sum(lloyd[“quizzes”])/len(lloyd[“quizzes”]),sum(lloyd[“tests”])/len(lloyd[“tests”]))

print(alice[“name”],sum(alice[“homework”])/len(alice[“homework”]),sum(alice[“quizzes”])/len(alice[“quizzes”]),sum(alice[“tests”])/len(alice[“tests”]))

print(tyler[“name”],sum(tyler[“homework”])/len(tyler[“homework”]),sum(tyler[“quizzes”])/len(tyler[“quizzes”]),sum(tyler[“tests”])/len(tyler[“tests”]))

<In what way does your code behave incorrectly? Include ALL error messages.>

I get:

(‘Lloyd’, 88.5, 74.0, 82.5)

(‘Alice’, 97.5, 85.33333333333333, 93.0)

(‘Tyler’, 46.0, 51.0, 100.0)

Which is kind of what I want.

<What do you expect to happen instead?>

But I think this is really clunky, and not at all what the question is asking for, and thus not helpful for 6/9 when you go to weight the averages. Any help for a newbie like me would be appreciated.

```
```