code: def random_product(*args, repeat=1):
      """Draw an item at random from each of the input iterables.
  
          >>> random_product('abc', range(4), 'XYZ')  # doctest:+SKIP
          ('c', 3, 'Z')
  
      If *repeat* is provided as a keyword argument, that many items will be
      drawn from each iterable.
  
          >>> random_product('abcd', range(4), repeat=2)  # doctest:+SKIP
          ('a', 2, 'd', 3)
  
      This equivalent to taking a random selection from
      ``itertools.product(*args, **kwarg)``.
  
      """
      pools = [tuple(pool) for pool in args] * repeat
      return tuple(choice(pool) for pool in pools)
  
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 22 for calling a global function with example usage: random_product() and returns: tuple