I think I’m stuck, but I’m not sure as I’m getting all by boxes neatly checked. 'm not sure if my is_passing, and my get_average methods will work as I’m having a lot of trouble understanding this chapter in Python.
This is my code, anybody see anything odd?:
class Student: def __init__(self, name, year): self.name = name self.year = year self.grades =  def add_grade(self, grade): if type(grade) is Grade: self.grades.append(grade) def get_average(self): total = 0 for grade in self.grades: total += grade avg = total / len(self.grades) return avg roger = Student("Roger van der Weyden", 10) sandro = Student("Sandro Botticelli", 12) pieter = Student("Pieter Bruegel the Elder", 8) class Grade: minimum_passing = 65 def __init__(self, score): self.score = score def is_passing(self): if score > minimum_passing: return True pieter.add_grade(Grade(100))