append some list to a list of list code example
Example: add all items in list to another list python
a = [1]
b = [2,3]
a.extend(b)
print(a)
------ OR -------
a += b
a = [1]
b = [2,3]
a.extend(b)
print(a)
------ OR -------
a += b