def iterprod(l):
    """
    Product of the elements of any iterable.  Product of empty iterable == 1.
    Input: l -- iterable
    Output: A number
    Examples:
    >>> listprod(range(1, 8))
    5040
    """
    z = 1
    for x in l:
        z *= x
    return z
