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_1 : List [ str ] ) -> int :
      var_2 = set ( )
      for var_3 in var_0 :
          var_4 = 0
          for var_5 in var_3 :
              var_4 |= 1 << ( ord ( var_5 ) - ord ( 'a' ) )
          var_2.add ( var_4 )
      var_6 = 0
      for var_3 in var_1 :
          var_4 = 0
          for var_5 in var_3 :
              var_4 |= 1 << ( ord ( var_5 ) - ord ( 'a' ) )
          for var_5 in var_3 :
              var_7 = var_4 ^ ( 1 << ( ord ( var_5 ) - ord ( 'a' ) ) )
              if var_7 in var_2 :
                  var_6 += 1
                  break
      return var_6
  