I have a list of data:
[[], [], [(2, 3), (2, 7), (3, 2), (7, 2)], [(2, 3), (3, 2), (3, 7), (7, 3)], [], [], [], [(2, 7), (3, 7), (7, 2), (7, 3)], [], []]
I want to remove the brackets in the tuple so that [(2, 3), (2, 7), (3, 2), (7, 2)]
will become (2,3,2,7,3,2,7,2)
.
Is there a shortcut to do this?