Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to append to a list of lists in python

list_of_Lists = [[1,2,3],['hello','world'],[True,False,None]]
list_of_Lists.append([1,'hello',True])
ouput = [[1, 2, 3], ['hello', 'world'], [True, False, None], [1, 'hello', True]]
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #append #list #lists #python
ADD COMMENT
Topic
Name
6+2 =