I have sublists that contain internal nested lists per each sublist and I'd like to only flatten the internal nested list, so its just part of the sublist.
The list goes,
A=[[[[a ,b], [e ,f]], [e, g]],
[[[d, r], [d, g]], [l, m]],
[[[g, d], [e, r]], [g, t]]]
I'd like to flatten the nested list that appears in the first position of each sublist in A so the output looks like this,
A= [[[a ,b], [e ,f], [e, g]],
[[d, r], [d, g], [l, m]],
[[g, d], [e, r], [g, t]]]
Im not sure what code to use to do this, so any help is appreciated.