concatenate lists from functions python code example Example: python concatenate list of lists x = [["a","b"], ["c"]] result = sum(x, [])