Python Classes Review - Further Practice Discussion

The get_average method was kind of a struggle, but I got it working like this (add method to Student class):

def get_average(self):
    self.scores = []
    for grade in self.grades:
        self.scores.append(grade.score)
    print(sum(self.scores)/len(self.scores))

why does scores needs to be instance variable? Why not use a local variable?

For the rest, good job :slight_smile: