def max_value(iterable):
    """
    Returns the maximum value in an iterable.

    Args:
        iterable (list): A list of tuples containing values to compare.

    Returns:
        tuple: The tuple with the maximum value.
    """
    if not iterable:
        raise ValueError("iterable argument is empty")
    
    return max(iterable, key=lambda x: x[1])