create a new list from a list when a certain condition is met

Solutions on MaxInterview for create a new list from a list when a certain condition is met by the best coders in the world

showing results for - "create a new list from a list when a certain condition is met"
Elliot
27 Mar 2016
1resultReal = [y for y in resultVital if not len(y) < 4]
2
similar questions