hi I am stuck in average part
help me where I made mistake?
Oops, try again. Your code appears to raise an error, see the console window for the error message!
Traceback (most recent call last):
File "python", line 27, in
File "python", line 22, in grades_variance
NameError: global name 'score' is not defined
def grades_variance(scores): average = grades_average(scores) variance =0 for s in scores: variance += (average - score) ** 2 result = variance / float(len(scores)) return result print grades_variance(grades)