How can I swap the elements of my list in such a way that every iteration 2 elements consecutive will be swapped.
Example:
initial_list =