Part of the Whole


#1



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


ERROR: global name "average" is not defined.


Replace this line with your code.

**strong text_**_


#2

average() should be a function you build earlier, please post your full code


#3


#4

where is the average function you build in this exercise? You need it here, given you call it


#5


#6

so now you can copy the average function into the exercise you are currently at

if you need more help, copy paste your code to the forum so i can actually run the code and don't store at images all the time

Something unclear about my explanation?


#7

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