def anagram_lambda(texts,str):
  from collections import Counter 
  
  result = list(filter(lambda x: (Counter(str) == Counter(x)), texts)) 
  return result
def anagram_lambda(texts,str):
  from collections import Counter 
  
  result = list(filter(lambda x: (Counter(str) != Counter(x)), texts)) 
  return result