Idiomatic implementation of a Python function that calculates the product of the items from an iterable.