Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Verify Anagrams by suic
def verify_anagrams(first_word, second_word):
cmpr = lambda s: "".join(sorted(str.lower(s))).strip()
return cmpr(first_word) == cmpr(second_word)
Oct. 9, 2014
Comments: