@@ -0,0 +1,528 @@
+#@author: cchen%0A%0Aclass Solution:%0A    # @param %7Binteger%7D x%0A    # @return %7Bboolean%7D%0A    def isPalindrome(self, x):%0A        if x %3C 0:%0A            return False%0A        %0A        tmp, left, right = x, 1, 1%0A        while tmp %3E 9:%0A            tmp /= 10%0A            left *= 10%0A%0A        while right %3C left:%0A            l = (x / left) %25 10%0A            r = (x / right) %25 10%0A            if l == r:%0A                left /= 10%0A                right *= 10    %0A            else:%0A                return False%0A                %0A        return True%0A

Create PalNum_001.py