<prompt> Create a function that will return all anagrams of a given string.  <response>: pythondef find_anagramsword: from itertools import permutations Finding all possible permutations of the given word perm_words permutationsword Creating a set of the permutations to get rid of the duplicates anagrams_set set.joini for i in perm_words Converting the set into a list to return anagrams listanagrams_set Removing the original word from anagrams anagrams.removeword return anagrams 