Remove the repeated elements of a list ====================================== Save all functions into the same file named :file:`remove_repeated.py`. #. Write the function :py:func:`remove_repeated_consecutives` that given a list of integers returns another list with the same elements in the same order, but having eliminated consecutive repeated numbers. Examples: .. literalinclude:: test-remove_repeat-1.txt :language: python3 :lines: 3-10 .. note:: More tests are provided in file :download:`test-remove_repeat-1.txt`. #. Write the function :py:func:`remove_repeated` that given a list of integers returns another list with the same elements in the same order, but having eliminated all the repeated numbers. Example: .. literalinclude:: test-remove_repeat-2.txt :language: python3 :lines: 3-10 .. note:: More tests are provided in file :download:`test-remove_repeat-2.txt`. .. rubric:: Solution A solution of these functions is provided in the :download:`remove_repeated.py `