If I have a python list like:
list = [(1,3), (2,4), (5,6), (7,8)] and I want to divide my list based on their index(0/1); how can I do that?
For example the splitted list should be:
l1 = [1,2,5,7] and l2 = [3,4,6,8]
Anyone know a simple technique for this? Thanks