Switch minimum and maximum ========================== Write the **modifier** function :py:func:`min_x_max` that takes an homogeneous list, and modifies it by switching its maximum element with its minimum element. Suppose that the list is not empty and does not have repeated elements. Save the function into the file named :file:`switch.py`. The function must pass the following doctest: .. literalinclude:: test-switch.txt :language: python3 :lines: 3-16 .. note:: More tests are provided in the :download:`test-switch.txt`. .. rubric:: Solution A solution of these functions is provided in the :download:`switch.py `