Palindrome Number Leetcode Solution In Python A Namespace