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
This case we check using two containers for each sorted string.
def anagram(s1, s2): str1 = '' str2 = '' for i in s1: str1 += i for j in s2: str2 += j if str1 == str2: return True return False