Leetcode Palindrome Number Python Program To Swap