Posts Taggedswapping of two numbers without using third variable in python