Posts Taggedswapping of two numbers in python