2017/02.py
def seqminmax(sequence: Iterable[int]) -> Tuple[int, int]:
    """
    Returns a tuple containing the minimum and maximum element of the ``sequence``.
    """
    min_, max_ = math.inf, -math.inf
    for x in sequence:
        min_ = min(min_, x)
        max_ = max(max_, x)
    return int(min_), int(max_)

    Returns a tuple containing the minimum and maximum element of the ``sequence``.
    
Returns a tuple containing the minimum and maximum element of the ``sequence``.
Returns a tuple containing the minimum and maximum element of the ` ` sequence ` ` .
def seqminmax(sequence: Iterable[int]) -> Tuple[int, int]:
    min_, max_ = math.inf, -math.inf
    for x in sequence:
        min_ = min(min_, x)
        max_ = max(max_, x)
    return int(min_), int(max_)
def seqminmax ( sequence : Iterable [ int ] ) -> Tuple [ int , int ] : min_ , max_ = math . inf , - math . inf for x in sequence : min_ = min ( min_ , x ) max_ = max ( max_ , x ) return int ( min_ ) , int ( max_ )
Returns a tuple containing the minimum and maximum element of the ``sequence``.
Returns a tuple containing the minimum and maximum element of the ` ` sequence ` ` .
"""
    Returns a tuple containing the minimum and maximum element of the ``sequence``.
    """
sequence
Iterable[int]