code: def seq_prod(seq, initial=1):
      """General product of sequence elements
  
      Parameters
      ----------
      seq : sequence
          Iterable of values to multiply.
      initial : object, optional
          Initial value
  
      Returns
      -------
      prod : object
          Result of ``initial * seq[0] * seq[1] .. ``.
      """
      return reduce(mul, seq, initial)
  
imports: from functools import reduce
  from operator import mul
label_desc: Use image node_id 3 for calling a global function with example usage: seq_prod(seq, initial) and returns: reduce