Temperature analysis (3 points) =============================== Now, to analyze the temperature at different points in the production center, the same company has obtained a nested list in which each sublist has three items: point code (:py:class:`str`), temperature (:py:class:`int`) and humidity (:py:class:`int`). The temperature and humidity are always positive integers. Write function :py:func:`temperature` that takes a nested list as described, and returns a tuple with two elements: - the average (:py:class:`float`) of the temperatures of all points in the given list, and - the point code (:py:class:`str`) in which the temperature is the greatest one in the given list It may be assumed that the given list is not empty. Save this function to file ``p2.py``. Examples: .. literalinclude:: test-temperature.txt :language: python :lines: 3-11 .. note:: More tests are provided in file :download:`test-temperature.txt`.