Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Verify Anagrams by tokiojapan55
def verify_anagrams(first_word, second_word):
table = [c.lower() for c in list(first_word) if c.isalpha()]
for c in [ch.lower() for ch in list(second_word) if ch.isalpha()]:
if table.count(c) > 0:
table.remove(c)
else:
return False
return len(table) <= 0
June 17, 2020