List = [[0,1,2], [3,4,5]] comp_list = [item for sublist in List for item in sublist] print(comp_list)