DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Create a new list from a list when a certain condition is met
resultReal = [y for y in resultVital if not len(y) < 4]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Create
#list
#list
#condition
#met
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit