Sales (2 points) ================ A company that sells supplies to steel companies has the following data: * a *sales dictionary* (:class:`dict`) in which the key is the name of a client (:class:`str`) and the value is a :class:`list` of tuples (:class:`tuple`). Each tuple corresponds to a sale and has three items: the month (:class:`int`) and the day (:class:`int`) in which the sale was made, and the sales amount in euros (:class:`float`). * a *month sales file* with the sales made in a specific month. Each line of this file corresponds to a sale offer and has 3 or 4 data fields separated by a colon (``':'``): the day (:class:`int`), the client name (:class:`str`), and a Boolean (:class:`bool`) showing whether this offer ended up in a sale (``True``) or not (``False``). If the Boolean is ``True``, this line has a 4th data field which is the sold sale amount (:class:`float`). Write a **modifier** function :py:func:`sales` that takes a sales dictionary and the name of a month sales file (:class:`str`) as those described, and a 3rd parameter which is the month number (:class:`int`) that corresponds to the month sales file. This function **modifies** the given dictionary taking into account the contents of the given file, that is, adding to it the sales included in this file. Beware: you must only add to the dictionary those sale offers in the file that ended up in a sale. Once the dictionary has been updated, the lists of each item must be sorted chronologically, i.e., first by month and then by day. Save this function in file ``sales.py``. Example: For a data file with the name :download:`steel1.txt` with the following content: .. literalinclude:: solution/steel1.txt :language: text this function must pass the following tests: .. literalinclude:: test-sales.txt :language: python :lines: 9-18 .. note:: Tests for automatic debugging are provided in file :download:`test-sales.txt`.