Wordize ======= You are required to deliver the following function in the module :mod:`words` (file :file:`words.py`): .. py:function:: wordize_digits(digit_words, text) such that **given** - *digit_words*, a :class:`str` of characters with the word for each digit (10), in increasing order, separated by ','. For instance ``'zero,one,two,three,four,five,six,seven,eight,nine'``. - *text*, any :class:`str` of characters **returns** a :class:`str` like *text* where - all digits has been replaced by the word denoting that digit followed by the digit between parenthesis - letters remain the same - characters that not letters or digits are **removed** *except* dot (``'.'``), coma (``,``), space (``' '``), semicolon (``';'``) and colon (``':'``) that remain the same. For example: .. literalinclude:: wordize_digits.test :language: python3 :start-after: --ini :end-before: --fi .. tip:: The digit words can be useful to get the word of a given digit: use the number represented by the digit as the index over the list resulting from spliting the *digit_words* string by ``','``. This is not the only way though but is very convenient. Additional doctests for validation are available in the :download:`wordize_digits.test` file.