Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

double for loop in list comprehension

# List Comprehension 
[word for sentence in text for word in sentence]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #double #loop #list #comprehension
ADD COMMENT
Topic
Name
2+3 =