def prod(xs):
p = <NUM_LIT:1><EOL>for x in xs:<EOL><INDENT>p *= x<EOL><DEDENT>return p<EOL>
Computes the product along the elements in an iterable. Returns 1 for empty iterable.

    Args:
        xs: Iterable containing numbers.

    Returns: Product along iterable.