Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Verify Anagrams by thealfest1
def verify_anagrams(a, b):
b = b.casefold()
for s in a.casefold():
if s.isalpha() and not s in b:
return False
b = b.replace(s, '', 1)
return not b.strip()
Jan. 6, 2019
Comments: