pyassistant

Even Length Strings

You are given a list of strings. Write a function that returns the strings from the list that are of even length.

Example:

Input:
['apple', 'banana', 'kiwi', 'orange', 'pear']
Output:
['banana', 'orange']

Make sure you return your solution, don't print!

AI

Bot

Trying to solve my challenge? Ask if you must, or press the purple button so I can analyze your code.