Question: Write a function that will take a single list argument with a minimum of 7 words. The purpose of the function is to find any
Write a function that will take a single list argument with a minimum of 7 words. The purpose of the function is to find any words with three letters and move them to the front of the list. Return the new list to the caller. For example if the list was: AAAA,BBB,CC,DDD,EEEE,FFFF,GGG the new list would be:
BBB,DDD,GGG,AAAA,CC,EEEE,FFFF for python
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
