+ 1
How can I filter a list of strings after the first letter of every item in list by using lambda and filter() in python
List=["soup","egg","sand"] filter after the letter "s" Result filterList=["soup","sand"]
1 Réponse
+ 1
https://code.sololearn.com/cA8OXuS6el4o/?ref=app
here you are sorting . not checking a particular condition on all list elements .