+ 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"]

26th Apr 2021, 1:14 PM
Ammar Alomairi
Ammar Alomairi - avatar
1 ответ
+ 1
https://code.sololearn.com/cA8OXuS6el4o/?ref=app here you are sorting . not checking a particular condition on all list elements .
26th Apr 2021, 1:19 PM
TOLUENE
TOLUENE - avatar