def METHOD_NAME(arr, n_objects):
    """Return a list of list with n_objects in each sublist."""
    return [
        arr[i * n_objects : (i + 1) * n_objects]
        for i in range((len(arr) + n_objects - 1) // n_objects)
    ]