Amabon (2 points) ================= Amabon, an e-commerce company wants us to help with its costumers' purchases. It has a nested :py:class:`list` in which each sublist corresponds to a customer. The first item of each customer list is its name (:py:class:`str`) and then there are some :py:class:`tuple` corresponding to each individual product that this costumer has bought. Each tuple has two items: the product name (:py:class:`str`) and the number of these products purchased by this costumer (:py:class:`int`). There is also a dictionary of product prices (:py:class:`dict`) with pairs of the form ``product_name : price``. Prices are rounded to integers (:py:class:`int`). Save the following function to file ``amabon.py``. Write a **modifier** function :py:func:`amabon` that takes a list and a dictionary as those described, and **modifies** the list by adding at the end of each costumer the total amount spent in the bought products. Examples: .. literalinclude:: test-amabon.txt :language: python :lines: 3 - 12 .. note:: You have more tests in file :download:`test-amabon.txt`