<doocs>1822.Sign of the Product of an Array_1.py
def arraySign( nums: List[int]) -> int:
    res = 1
    for num in nums:
        if num == 0:
            return 0
        if num < 0:
            res *= -1
    return res
def sample_funcname ( var_0 : List [ int ] ) -> int :
    var_4 = 1
    for var_5 in var_0 :
        if var_5 == 0 :
            return 0
        if var_5 < 0 :
            var_4 *= - 1
    return var_4
