< Back

Anagram

Write a function is_anagram(word_1, word_2). Your function return True if word_1 is an anagram of word_2. Two words are anagrams if every letter (ignoring spaces and punctuation) occurs with the same frequency in both strings.