code: def difference(self, other):
          
          other = set(other)
          temp = [x for x in self if x not in other]
          return type(self)(temp)
docs: Returns a FrozenList with elements from other removed from self.
  
          Parameters
          ----------
          other : array-like
              The array-like whose elements we are removing self.
  
          Returns
          -------
          diff : FrozenList
              The collection difference between self and other.