code: def grouper(
      iterable: tp.Iterable[tp.Any], n: int, fillvalue: tp.Any = None
  ) -> tp.Iterator[tp.List[tp.Any]]:
      """Collect data into fixed-length chunks or blocks
      Copied from itertools recipe documentation
      Example: grouper('ABCDEFG', 3, 'x') --> ABC DEF Gxx"
      """
      args = [iter(iterable)] * n
      return itertools.zip_longest(*args, fillvalue=fillvalue)
  
imports: import os
  import site
  import glob
  import ctypes
  import time
  import inspect
  import warnings
  import itertools
  import contextlib
  import collections
  import typing
  import numpy
  from nevergrad.common import sphere
label_desc: Use image node_id 4 for calling a global function with example usage: grouper(iterable, n, fillvalue) and returns: itertools