x = [0, 1, 2] print x x.insert(2, x.pop(0)) print x