Answers for "combine list in list into one list python"

1

combine list of lists python

x = [["a","b"], ["c"]]

result = sum(x, [])
# This combines the lists within the list into a single list
Posted by: Guest on April-11-2021

Code answers related to "combine list in list into one list python"

Python Answers by Framework

Browse Popular Code Answers by Language