Python Function Program – Write a function lenFOURword(L), where L is the list of elements (list of words) passed as an argument to the function. The function returns another list named ‘indexList’ that stores the indices of all five lettered words of L.
Python function program – Write a function lenFOURword(L), where L is the list of elements (list of words) passed as an argument to the function. The function returns another list…