Write a Python lambda function that takes a list of strings and an integer n
, and filters out all strings less than n
characters long. Return the list.
Example 1:
Input: ['Hello', 'World', 'Python', 'Programming'], 6
Output: ['Python', 'Programming']
Example 2:
Input: ['Apple', 'Banana', 'Cherry', 'Dates'], 6
Output: ['Banana', 'Cherry']