The Variance


Hey someone help me.
Seems like my code is alright to me but it throwing off error

def grades_variance(scores)
for score in scores:
variance = variance+(average-score)**2
new_variance =(variance/float(len(scores)))
return new_variance
print grades_variance(grades)

Error: Oops, try again. grades_variance([5]) raised an error: maximum recursion depth exceeded


in your average variable you should store a call to your grades_average function and not the grades_variance one,


Thanks mate solved it