<doocs>0263.Ugly Number_1.py
def isUgly( n: int) -> bool:
    if n < 1:
        return False
    for x in [2, 3, 5]:
        while n % x == 0:
            n //= x
    return n == 1
def sample_funcname ( var_0 : int ) -> bool :
    if var_0 < 1 :
        return False
    for var_8 in [ 2 , 3 , 5 ] :
        while var_0 % var_8 == 0 :
            var_0 //= var_8
    return var_0 == 1
