I have a nested list:
lst=['A','B',['ABB','ADE'],'Z','!@#',['UU','II']]
how to deal with ['ABB','ADE']
, ['UU','II']
so that I got:
lst=['A','B','ABB','ADE','Z','!@#','UU','II']
tried many methods but not working. The order should NOT be the changed.