# FAQ: Learn Python - Exam Statistics - Computing the Average

#1

This community-built FAQ covers the “Computing the Average” exercise in Codecademy’s lessons on Python.

## Join the Discussion. We Want to Hear From You!

Agree with a comment or answer? Like () to up-vote the contribution!

Want to take the conversation in a totally different direction? Join our wider discussions.

Found a bug? Report it!

Have a question about your account, billing, Pro, or Pro Intensive? Reach out to our support team!

None of the above? Find out where to ask other questions here!

#2

Not seeing your question? It may still have been asked before – try () in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post ().

## Other FAQs

• This list will contain other frequently asked questions that aren’t quite as popular as the ones above.
• This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!

#3

2 posts were split to a new topic: Why Do I Have to Use `float()`?

#4

Hi guys,

lesson:
Exam Statistics / 5. Computing the Average

``````grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5] # was given

result = 0
for i in scores:
result += i
return result

return result

``````

Result in console right:
80.4230769231

Given Error:
you do not have a function named `grades_average`, which is why you get this error. Check your function name