<qiyuangong>367_Valid_Perfect_Square_3.py
def isPerfectSquare( num):
    x = num
    while x * x > num:
        x = (x + num / x) / 2
    return x * x == num
def sample_funcname ( var_0 ) :
    var_1 = var_0
    while var_1 * var_1 > var_0 :
        var_1 = ( var_1 + var_0 / var_1 ) / 2
    return var_1 * var_1 == var_0
