logo CodeStepByStep logo

remove_even_length

Language/Type: Python lists collections

Write a function remove_even_length that takes a list of strings as a parameter and that removes all of the strings of even length from the list. For example, if the list is ["This", "is", "a", "test"], after a call to your function, it should store ["a"].

Function: Write a Python function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.