<doocs>1281.Subtract the Product and Sum of Digits of an Integer_1.py
def subtractProductAndSum( n: int) -> int:
    s, p = 0, 1
    while n:
        t = n % 10
        n //= 10
        s += t
        p *= t
    return p - s
def sample_funcname ( var_0 : int ) -> int :
    var_3 , var_5 = 0 , 1
    while var_0 :
        var_7 = var_0 % 10
        var_0 //= 10
        var_3 += var_7
        var_5 *= var_7
    return var_5 - var_3
