Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sorted() == sorted() solution in Clear category for Verify Anagrams by vnkvstnk
def verify_anagrams(first_word, second_word):
lowerize = lambda x: [i.lower() for i in x if i != " "]
return sorted(lowerize(first_word)) == sorted(lowerize(second_word))
July 11, 2019
Comments: