comefrom: <doocs>0150.Evaluate Reverse Polish Notation_1.py
code: def evalRPN( tokens: List[str]) -> int:
      nums = []
      for t in tokens:
          if len(t) > 1 or t.isdigit():
              nums.append(int(t))
          else:
              if t == "+":
                  nums[-2] += nums[-1]
              elif t == "-":
                  nums[-2] -= nums[-1]
              elif t == "*":
                  nums[-2] *= nums[-1]
              else:
                  nums[-2] = int(nums[-2] / nums[-1])
              nums.pop()
      return nums[0]
masked: def sample_funcname ( var_0 : List [ str ] ) -> int :
      var_4 = [ ]
      for var_5 in var_0 :
          if len ( var_5 ) > 1 or var_5.isdigit ( ) :
              var_4.append ( int ( var_5 ) )
          else :
              if var_5 == "+" :
                  var_4 [ - 2 ] += var_4 [ - 1 ]
              elif var_5 == "-" :
                  var_4 [ - 2 ] -= var_4 [ - 1 ]
              elif var_5 == "*" :
                  var_4 [ - 2 ] *= var_4 [ - 1 ]
              else :
                  var_4 [ - 2 ] = int ( var_4 [ - 2 ] / var_4 [ - 1 ] )
              var_4.pop ( )
      return var_4 [ 0 ]
  