def run(): students = data_generator.generate_students(number_of_students=45) school = School(name="Mała szkoła", students=[]) school.students = students print(school) student_avg = GradeCalculator.calculate_student_avg([])
def run_example(): students = data_generator.generate_students(number_of_students=250) # school = School(name="Mała szkoła", students=[]) # school.students = students # school = School(name="Mała szkoła", students=data_generator.generate_students()) student_avg = GradeCalculator.calculate_student_avg([])
def grades_avg(self): return GradeCalculator.calculate_student_avg(self._final_grades)
def check_promotion(self): return GradeCalculator.check_student_promotion(self._final_grades)