def check(s1, s2):
?
? ? ?if(sorted(s1)== sorted(s2)):
? ? ? ? ? ? ? print("The strings are anagrams.")
? ? ?else:
? ? ? ? ? ? ? print("The strings aren't anagrams.")
?
s1 = input("Enter string1: ")
# input1: "listen"
s2 = input("Enter string2: ")
# input2: "silent"
check(s1, s2)
# Output: the strings are anagrams.