def min_max_voltage(voltage):
    """
    outputs the minimum and maximum voltage recorded

    :param voltage: (list) array of voltages
    :return: tuple of the minimum and maximum voltages
    """
    min_voltage = min(voltage)
    max_voltage = max(voltage)
    min_max_voltages = (min_voltage, max_voltage)
    return min_max_voltages