I wrote this. But i want to swap mylist=[2,1,5,0] elements like 2 will swap with 1, then 2 will swap with 5, then 2 will swap with 0
so the output will be :