<qiyuangong>326_Power_of_Three_1.py
def isPowerOfThree( n):
    import math
    if n <= 0:
        return False
    
    log_res = round(math.log(n, 3), 10)
    if log_res - int(log_res) > 0:
        return False
    return True
def sample_funcname ( var_0 ) :
    import var_1
    if var_0 <= 0 :
        return False
    var_8 = round ( var_1.log ( var_0 , 3 ) , 10 )
    if var_8 - int ( var_8 ) > 0 :
        return False
    return True
