code: def pairwise(
      iterable: tp.Iterable[tp.Any],
  ) -> tp.Iterator[tp.Tuple[tp.Any, tp.Any]]:
      """Returns an iterator over sliding pairs of the input iterator
      s -> (s0,s1), (s1,s2), (s2, s3), ...
  
      Note
      ----
      Nothing will be returned if length of iterator is strictly less
      than 2.
      """  # From itertools documentation
      a, b = itertools.tee(iterable)
      next(b, None)
      return zip(a, b)
  
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 3 for calling a global function with example usage: pairwise(iterable) and returns: zip