concatente lists python code example
Example 1: append two list of number to one python
listone = [1,2,3]
listtwo = [4,5,6]
mergedlist = []
mergedlist.extend(listone)
mergedlist.extend(listtwo)
Example 2: merge lists in list python
import itertools
a = [['a','b'], ['c']]
print(list(itertools.chain.from_iterable(a)))