comefrom: <qiyuangong>007_Reverse_Integer_1.py
code: def reverse( x):
      max_int = 2147483647
      if x == 0:
          return 0
      isPos = True
      if x < 0:
          x *= (-1)
          isPos = False
      ltemp = []
      while x != 0:
          temp = x % 10
          ltemp.append(temp)
          x /= 10
      result = 0
      
      for t in ltemp:
          result = result * 10 + t
      if result > max_int:
          result = 0
      if isPos:
          return result
      else:
          return -1 * result
masked: def sample_funcname ( var_0 ) :
      var_2 = 2147483647
      if var_0 == 0 :
          return 0
      var_5 = True
      if var_0 < 0 :
          var_0 *= ( - 1 )
          var_5 = False
      var_8 = [ ]
      while var_0 != 0 :
          var_10 = var_0 % 10
          var_8.append ( var_10 )
          var_0 /= 10
      var_12 = 0
      for var_13 in var_8 :
          var_12 = var_12 * 10 + var_13
      if var_12 > var_2 :
          var_12 = 0
      if var_5 :
          return var_12
      else :
          return - 1 * var_12
  