<qiyuangong>263_Ugly_Number_1.py
def isUgly( num):
    if num <= 0:
        return False
    if num <= 6:
        return True
    while num % 2 == 0:
        num //= 2
    while num % 3 == 0:
        num //= 3
    while num % 5 == 0:
        num //= 5
    if num == 1:
        return True
    return False
def sample_funcname ( var_0 ) :
    if var_0 <= 0 :
        return False
    if var_0 <= 6 :
        return True
    while var_0 % 2 == 0 :
        var_0 //= 2
    while var_0 % 3 == 0 :
        var_0 //= 3
    while var_0 % 5 == 0 :
        var_0 //= 5
    if var_0 == 1 :
        return True
    return False
