Consider the following lists
list_1 = [[1,2],[3,4],[5,6]]
list_2 = [[7,8],[9,10],[11,12]]
list_3 = [[13,14],[15,16],[17,18]]
Is it possible to flatten all the lists in one go
i tried using
list_1 = [ y for x in list_1 for y in x]
this does only one list at a time. Any way to flatten all three lists in a single line of code?