< Back

Post Lab 19 - Anagrams

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. You can assume all letters are lowercase in each string.



Please write and test your code in the above textbox before Oct. 28th at noon.