It's Okay to be Average


Hey Guys

Thats what I got so far

def average(numbers):
total = sum(numbers)
return float(total) / len(numbers)

when I click on “Run” I get nothing back, no error code or hints.

Can someone give me an hint of what Im doing wrong ?



If you write in this line (after the function), does it print to the console?

print (average(lloyd['tests']));


yes, it does. I can see the number 82.5.


Are you getting an SCT (lesson checker) error?


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