Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find anagrams of a string python

def are_anagrams(first, second):
    return len(first) == len(second) and sorted(first) == sorted(second)
Source by codefantasy.org #
 
PREVIOUS NEXT
Tagged: #find #anagrams #string #python
ADD COMMENT
Topic
Name
9+5 =