The assignment is to write a program that accepts two groups of words from the user and then prints a \"True\" statement if the two are anagrams (or at least if all the lett
def is_anagram(w1, w2): w1, w2 = list(w1.upper()), list(w2.upper()) w2.sort() w1.sort() return w1 == w2