from typing import Iterable


def prodi(items: Iterable[float]) -> float:
    """Imperative product

    >>> prodi( [1,2,3,4,5,6,7] )
    5040
    """
    p: float = 1
    for n in items:
        p *= n
    return p