What my list looks like:
my_list = [  [[1, 'a'],[1, 'b']],  [[2, 'a']],  [[3, 'a'],[3, 'b'],[3, 'c']]  ]
My ideal list:
my_list = [ [1, 'a'], [1, 'b'], [2, 'a'], [3, 'a'], [3, 'b'], [3, 'c'] ]
How can I achieve this?
What my list looks like:
my_list = [  [[1, 'a'],[1, 'b']],  [[2, 'a']],  [[3, 'a'],[3, 'b'],[3, 'c']]  ]
My ideal list:
my_list = [ [1, 'a'], [1, 'b'], [2, 'a'], [3, 'a'], [3, 'b'], [3, 'c'] ]
How can I achieve this?
 
    
    just iterate with list comprehension and get the first one:
my_list = [l for li in my_list for l in li]
Output:
[ [1, 'a'], [1, 'b'], [2, 'a'], [3, 'a'], [3, 'b'], [3, 'c'] ]
