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.")  
 
PREVIOUS NEXT
Tagged: #check #strings #anagrams #python
ADD COMMENT
Topic
Name
5+4 =