import functools
import operator


def _compute_product_0(xs):
    """Uses built-in Python tools to compute the product of the list."""

    if not xs:
        return 0

    return functools.reduce(operator.mul, xs)