Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python nested list comprehension

matrix = [[j for j in range(5)] for i in range(5)]
 
PREVIOUS NEXT
Tagged: #python #nested #list #comprehension
ADD COMMENT
Topic
Name
1+5 =