Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Verify Anagrams by lancelote
def verify_anagrams(word_1, word_2):
word_1, word_2 = map(lambda s: s.replace(" ", "").lower(), (word_1, word_2))
return sorted(word_1) == sorted(word_2)
May 22, 2015