1 arr = [[1], [2, 3], [4, 5, 6]] 2 brr = sum(arr, []) 3 # [1, 2, 3, 4, 5, 6] 4 arr = [[1], [2, 3], [[4], [5], [6]]] 5 crr = sum(arr, []) 6 # [1, 2, 3, [4], [5], [6]]