Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Verify Anagrams by Sim0000
def verify_anagrams(first_word, second_word):
f = lambda s: [s.lower().count(c) for c in 'abcdefghijklmnopqrstuvwxyz']
return f(first_word) == f(second_word)
May 8, 2014