Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python anagram finder

def isAnagram(str1, str2):
    str1_list = list(str1)
    str1_list.sort()
    str2_list = list(str2)
    str2_list.sort()

    return (str1_list == str2_list)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #anagram #finder
ADD COMMENT
Topic
Name
5+6 =