<qiyuangong>065_Valid_Number_1.py
def isNumber( s):
    s = s.strip()
    try:
        float(s)
        return True
    except:
        if '.' in s or ' ' in s:
            return False
        temp = s.split('e')
        if len(temp) == 2:
            try:
                int(temp[0])
                int(temp[1])
            except:
                return False
            return True
    return False
def sample_funcname ( var_0 ) :
    var_0 = var_0.strip ( )
    try :
        float ( var_0 )
        return True
    except :
        if '.' in var_0 or ' ' in var_0 :
            return False
        var_9 = var_0.split ( 'e' )
        if len ( var_9 ) == 2 :
            try :
                int ( var_9 [ 0 ] )
                int ( var_9 [ 1 ] )
            except :
                return False
            return True
    return False
