comefrom: <doocs>2135.Count Words Obtained After Adding a Letter_1.py
code: def wordCount( startWords: List[str], targetWords: List[str]) -> int:
      s = set()
      for word in startWords:
          mask = 0
          for c in word:
              mask |= 1 << (ord(c) - ord('a'))
          s.add(mask)
      
      ans = 0
      for word in targetWords:
          mask = 0
          for c in word:
              mask |= 1 << (ord(c) - ord('a'))
          for c in word:
              t = mask ^ (1 << (ord(c) - ord('a')))
              if t in s:
                  ans += 1
                  break
      return ans
masked: def sample_funcname ( var_0 : List [ str ] , var_3 : List [ str ] ) -> int :
      var_6 = set ( )
      for var_7 in var_0 :
          var_9 = 0
          for var_10 in var_7 :
              var_9 |= 1 << ( ord ( var_10 ) - ord ( 'a' ) )
          var_6.add ( var_9 )
      var_15 = 0
      for var_7 in var_3 :
          var_9 = 0
          for var_10 in var_7 :
              var_9 |= 1 << ( ord ( var_10 ) - ord ( 'a' ) )
          for var_10 in var_7 :
              var_16 = var_9 ^ ( 1 << ( ord ( var_10 ) - ord ( 'a' ) ) )
              if var_16 in var_6 :
                  var_15 += 1
                  break
      return var_15
  