I am having nested list of strings as:
A = [[\"A\",\"B\",\"C\"],[\"A\",\"B\"]]
I am trying to join the strings in sublist to get a single l
You can try this:
A = [["A","B","C"],["A","B"]] new_a = [[''.join(b)] for b in A]
Output:
[['ABC'], ['AB']]