Programming, Python, Filtering, Functional.
filter a list of strings based on their lengths. We’ll use the filter function along with a lambda function as the filtering condition. Code: # filter_example.py # Define a list of strings fruits = ["apple", "banana", "orange", "kiwi", "strawberry"] # Use the filter function to filter long fruits