comefrom: <doocs>2239.Find Closest Number to Zero_1.py
code: def findClosestNumber( nums: List[int]) -> int:
      ans, d = 0, 1000000
      for v in nums:
          if (t := abs(v)) < d or (t == d and v > ans):
              ans, d = v, t
      return ans
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_4 , var_6 = 0 , 1000000
      for var_7 in var_0 :
          if ( var_8 := abs ( var_7 ) ) < var_6 or ( var_8 == var_6 and var_7 > var_4 ) :
              var_4 , var_6 = var_7 , var_8
      return var_4
  