def METHOD_NAME(iterable, n):
    """
    Split a interable into chunks of length n with the final element
    being the remainder len < n if n does not divide evenly
    """
    len_iter = len(iterable)
    return [iterable[i: min(i + n, len_iter)] for i in range(0, len_iter, n)]