def METHOD_NAME(self, number_of_students, number_of_students_with_tasks, scores):
    if number_of_students == 0 or number_of_students_with_tasks == 0:
        return (0, 0, 0)
    return (
        float(scores) / number_of_students_with_tasks,
        float(scores) / number_of_students,
        float(number_of_students_with_tasks) / number_of_students
    )