Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Py2.7 one-liner using cmp() solution in Creative category for Verify Anagrams by suic
# Inspired by capybara23's _cmp_ solution:
# http://www.checkio.org/mission/verify-anagrams/publications/capybara23/python-27/cmp/
# Thanks :)
verify_anagrams = lambda x, y: not cmp(*(sorted(i.replace(" ","").lower()) for i in (x, y)))
March 27, 2015