Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Verify Anagrams solution in Clear category for Verify Anagrams by Damian_Horna
from collections import Counter
def sanitize(text):
text=text.replace(" ","")
text=text.lower()
return sorted(text)
def verify_anagrams(first, second):
if sanitize(first)==sanitize(second):
return True
return False
Oct. 22, 2016