code: def pairwise(iterable: Iterable):
      """Iterate over elements two by two.
  
      s -> (s0,s1), (s1,s2), (s2, s3), ...
      """
      a, b = itertools.tee(iterable)
      next(b, None)
      return zip(a, b)
  
imports: import itertools
  from typing import Iterable
label_desc: Use image node_id 1 for calling a global function with example usage: pairwise(iterable) and returns: zip