How may I convert the square brackets inside a list into parentheses and the parentheses outside the square brackets into square brackets?
Example:
Lst=[([(1,2)],[(1,2),(1,3)]),([(1,4)],[(1,4),(2,3)])]
What I would ideally like to have is:
Lst=[[((1,2)),((1,2),(1,3))],[((1,4)),((1,4),(2,3))]]
because as you may notice, the parentheses in the original list encloses two pairs of brackets, but I want it the other way around, for the brackets to enclose two pairs of parentheses.