Cuts ==== An administration is going to apply several cuts to its workers' salaries and needs to design the following functions, that will be saved into the same file ``cuts.py``. 1. A modifier function named :py:func:`cut` that takes a list of monthly salaries (float) and a percentage (float) corresponding to the cut to be applied to the salaries, and modifies the salaries list by applying this percentage to all its elements. Examples: .. literalinclude:: cuts1.txt :language: python3 :lines: 3- .. note:: More tests are provided in file :download:`cuts1.txt ` 2. Another function named :py:func:`administration` that receives a list of workers, a percentage corresponding to the salaries' cuts and a threshold salary, i.e., a salary value such that the cut will not be applied to salaries greater to this threshold. The list of workers is a list of sublists. Each sublist consists of two elements: the name of the worker and his/her monthly salary. The function must return a list of real numbers corresponding to the salaries lower than the given threshold salary and with the salary cut applied. Moreover, in this list there must not be repeated salaries and they have to be sorted increasingly. This function must use the previous one. Examples: .. literalinclude:: cuts2.txt :language: python3 :lines: 3- .. note:: More tests are provided in the :download:`cuts2.txt ` .. rubric:: Solutions A solution of these functions is provided in the :download:`cuts.py `