code: def padnone(iterable):
      """Returns the sequence of elements and then returns ``None`` indefinitely.
  
          >>> take(5, padnone(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: from collections import deque
  from itertools import chain, combinations, count, cycle, groupby, islice, repeat, starmap, tee
  import operator
  from random import randrange, sample, choice
  from six import PY2
  from six.moves import filter, filterfalse, map, range, zip, zip_longest
label_desc: Use image node_id 9 for calling a global function with example usage: padnone(iterable) and returns: chain