Five a day ========== We have a list with the food servings that takes a person in a determined period of time (food list). This food list is a nested list of sublists and each sublist has two elements: the food name and its number of servings. #. Write the function :py:func:`nutrition1` that given a food list, returns the total number of servings of fruit and vegetables in the list. Save this function into a file named ``nutrition1.py``. Examples: .. literalinclude:: nutrition1.txt :language: python3 :lines: 3- .. note:: More tests are provided in file :download:`nutrition1.txt ` #. Write the function :py:func:`nutrition2` that takes a food list, *food*, and a number of servings, *nr*, and returns ``True`` if the person has eaten more than *nr* servings of fruit and vegetables (in total) and ``False`` otherwise. Save this function into a file named ``nutrition2.py``. Examples: .. literalinclude:: nutrition2.txt :language: python3 :lines: 3- .. note:: More tests are provided in the :download:`nutrition2.txt ` #. He have another nested list of sublists with data corresponding to several weeks (week list). Each sublist of a week list represents a week and has 7 integers. These integers correspond to the number of fruit and vegetables servings (in total) eaten by the person each day of the week. The main list has an undefined number of sublists. Write the function :py:func:`nutrition3` that from a week list, *week*, and a number of servings, *nr*, returns the number of weeks where there is a day in which the number of fruit and vegetables servings (in total) is lower than *nr*. Save this function into a file named ``nutrition3.py``. Examples: .. literalinclude:: nutrition3.txt :language: python3 :lines: 3- .. note:: More tests are provided in the :download:`nutrition3.txt ` .. rubric:: Solution A solution of these functions is provided in files :download:`nutrition1.py `, :download:`nutrition2.py `, :download:`nutrition3.py `