code: def chunks(items, size):
      
      return [items[i:i+size] for i in range(0, len(items), size)]
docs: Split list into chunks of the given size.
      Original order is preserved.
  
      Example:
          > chunks([1,2,3,4,5,6,7,8], 3)
          [[1, 2, 3], [4, 5, 6], [7, 8]]