code: def pad_none(iterable):
      """Returns the sequence of elements and then returns ``None`` indefinitely.
  
          >>> take(5, pad_none(range(3)))
          [0, 1, 2, None, None]
  
      Useful for emulating the behavior of the built-in :func:`map` function.
  
      See also :func:`padded`.
  
      """
      return chain(iterable, repeat(None))
  
imports: import warnings
  from collections import deque
  from itertools import chain, combinations, count, cycle, groupby, islice, repeat, starmap, tee, zip_longest
  import operator
  from random import randrange, sample, choice
label_desc: Use image node_id 8 for calling a global function with example usage: pad_none(iterable) and returns: chain