Question: In python 3, create the function func(L) which receives a list of strings, and returns the longest string with an even-length that ends with ing.

In python 3,

create the function "func(L)" which receives a list of strings, and returns the longest string with an even-length that ends with "ing". If multiple longest strings are found, return the 1st, if no such strings are found, return the empty string.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!