comefrom: <qiyuangong>751_IP_to_CIDR_1.py
code: def ipToInt( ip):
      ans = 0
      for x in ip.split('.'):
          ans = 256 * ans + int(x)
      return ans
masked: def sample_funcname ( var_0 ) :
      var_2 = 0
      for var_5 in var_0.split ( '.' ) :
          var_2 = 256 * var_2 + int ( var_5 )
      return var_2
  