def prod(x):
    """
    Computes the product of the elements of an iterable
    :param x: iterable
    :type x: iterable
    :return: product of the elements of x
    """
    ret = 1
    for item in x:
        ret = item * ret
    return ret