i need to split this list:
1 2 3 |4 5 6 | 7 8
and make it into this:
7 8 4 5 6 1 2 3
Till now i only used the split() function, but it only splits the "|" and i get this ['1 2 3 ', '4 5 6 ', ' 7 8']. So my question is how to split the blank spaces as well(they could be more than 1).