 value is provided, it will be returned if there are no
input items.

    >>> minmax([], default=(0, 0))
    (0, 0)

Otherwise ``ValueError`` is raised.

This function is based on the
`recipe <http://code.activestate.com/recipes/577916/>`__ by
Raymond Hettinger and takes care to minimize the number of comparisons
performed.
z[`minmax()` argument is an empty iterable. Provide a `default` value to suppress this error.Nr>