<qiyuangong>367_Valid_Perfect_Square_1.py
def isPerfectSquare( num):
    i = 1
    while num > 0:
        num -= i
        i += 2
    return num == 0
def sample_funcname ( var_0 ) :
    var_2 = 1
    while var_0 > 0 :
        var_0 -= var_2
        var_2 += 2
    return var_0 == 0
