Anagrams !?

anagram , string , algorithms

Listen

What is it !? #

def is_anagram(s1, s2):
    s1=s1.replace(" ", "").lower()
    s2=s2.replace(" ", "").lower()
    if sorted(s1) == sorted(s2):
        print("Yes")
    else:
        print("Nope")

s1=input("> ")
s2=input("> ")

Thanks for reading :) #