1flat_list = [item for sublist in l for item in sublist]
2
3#which is equivalent to this
4flat_list = []
5for sublist in l:
6 for item in sublist:
7 flat_list.append(item)
1list_of_lists = [[180.0], [173.8], [164.2], [156.5], [147.2], [138.2]]
2flattened = [val for sublist in list_of_lists for val in sublist