1. Engineering
  2. Computer Science
  3. in python write a function that takes a list and...

Question: in python write a function that takes a list and...

Question details

IN PYTHON:

write a function that takes a list and groups the output like the following:

-------------------------------------------------------------------------------------------

input list: ['rt','asdf','ton','er','user']
will give
Letter2=['rt','er']
Letter3=['ton']
Letter4=['asdf','user']

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution