Verifique se duas cordas são anagramas python
if sorted(s1) == sorted(s2):
print("The strings are anagrams.")
else:
print("The strings aren't anagrams.")
Cmndr_Salamander