Why this doesnt work? could you explain me please?
def grades_variance(scores): average = grades_average(scores) variance = 0 for score in scores: variance += (average - score) **2 return variance result = variance/len(scores) return result
What specific evidence did you observe that indicates that it does not work?
When you post code, please format it so that we can see essential details, such as indentation. See How do I format code in my posts?.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.