python 3 combine list items code example
Example 1: combine all items in a list python
>> a = ['a', 'b', 'c']
>> res = "".join(a)
>> print(res)
abc
Example 2: python concatenate list of lists
x = [["a","b"], ["c"]]
result = sum(x, [])
>> a = ['a', 'b', 'c']
>> res = "".join(a)
>> print(res)
abc
x = [["a","b"], ["c"]]
result = sum(x, [])