| about | help | code help+videos | done | prefs |
remove_even_length
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"]. remove_even_length(['This', 'is', 'a', 'test']) → ['a'] remove_even_length(['even', 'odd', 'ev', 'o']) → ['odd', 'o'] remove_even_length(['Did', 'you', 'solve', 'it', 'or', 'what?']) → ['Did', 'you', 'solve', 'what?'] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 290 Post-solution available
Copyright Nick Parlante 2017 - privacy