@staticmethod
def product(iterable):
    """Calculate product of elements of an iterable.

        Args:
            iterable: An object capable of returning its members one at a time.
                Must have at least on element.

        Returns:
            int: Product

        """
    product = 1
    for value in iterable:
        product *= value
    return product
