Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if two strings are anagrams python

if sorted(s1) == sorted(s2): 
	print("The strings are anagrams.") 
else: 
	print("The strings aren't anagrams.")  
Source by www.kdnuggets.com #
 
PREVIOUS NEXT
Tagged: #check #strings #anagrams #python
ADD COMMENT
Topic
Name
6+1 =