code: def list_chunks(l, n):
      
      if n < 1:
          n = 1
      return [l[i:i + n] for i in range(0, len(l), n)]
docs: Return a list of chunks
      :param l: List
      :param n: int The number of items per chunk
      :return: List