<qiyuangong>009_Palindrome_Number_2.py
def isPalindrome( x):
    if x < 0:
        return False
    ls = len(str(x))
    tmp = x
    for i in range(int(ls/2)):
        right = int(tmp % 10)
        left = tmp / (10 ** (ls - 2 * i - 1))
        left = int(left % 10)
        if left != right:
            return False
        tmp = tmp // 10
    return True
def sample_funcname ( var_0 ) :
    if var_0 < 0 :
        return False
    var_5 = len ( str ( var_0 ) )
    var_6 = var_0
    for var_10 in range ( int ( var_5 / 2 ) ) :
        var_12 = int ( var_6 % 10 )
        var_14 = var_6 / ( 10 ** ( var_5 - 2 * var_10 - 1 ) )
        var_14 = int ( var_14 % 10 )
        if var_14 != var_12 :
            return False
        var_6 = var_6 // 10
    return True
