def product(iterable):
    """Compute the product of the given iterable.

    Arguments:
        iterable (iterable of int or float): Numbers to multiply together.

    Returns:
        int: The product of all numbers contained in the iterable.
    """
    product = iterable[0]
    for number in iterable[1:]:
        product *= number

    return product