how to combine 2 list into 1 list code example
Example 1: merge two lists
# Makes list1 longer by appending the elements of list2 at the end.
list1.extend(list2)
Example 2: merge lists in list python
import itertools
a = [['a','b'], ['c']]
print(list(itertools.chain.from_iterable(a)))