import functools


def prod(factor):
    """
    Equivalent to sum(list) with multiplication.
    Return the multiplication of all the elements in the list.
    """
    return functools.reduce(lambda x, y: x*y, factor, 1)