The code works, but its not letting me proceed. Am I missing something here?
This is what I did:
def average(numbers): total = sum(numbers) total = float(total) average = total / len(numbers) return average
That worked. I guess the parenthesis in "print (average)" was causing it to fail.
Happy to help
compute_average() was causing to fail as the instructions requested average()
I just did the same but the results are not appearing in the console, did they for you?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.