Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Third solution in Clear category for Verify Anagrams by thealfest1
def verify_anagrams(a, b):
a, b = (sorted(i for i in s.casefold() if i.isalpha()) for s in (a, b))
#a, b = (sorted(list(''.join(s.casefold().split()))) for s in (a, b))
return a == b
Feb. 3, 2019
Comments: