Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
simple solution solution in Clear category for Verify Anagrams by Goodester
def verify_anagrams(first_word, second_word):
return count_of_letters(first_word) == count_of_letters(second_word)
def count_of_letters(string):
string = string.lower()
return dict(
(el, string.count(el)) for el in set(string) if el != ' '
)
July 10, 2019