def are_anagrams(w1, w2) ->bool:
    return sorted(w1) == sorted(w2)


class Solution:

    def isAnagram(self, s: str, t: str) ->bool:
        return are_anagrams(s, t)


if __name__ == '__main__':
    print(are_anagrams('hello', 'olleh'))

8b97f537947f404121f90e91fa5df8f9706cd8f3
<mask token>


class Solution:
    <mask token>


<mask token>

<mask token>


class Solution:

    def isAnagram(self, s: str, t: str) ->bool:
        return are_anagrams(s, t)


<mask token>

def are_anagrams(w1, w2) ->bool:
    return sorted(w1) == sorted(w2)


class Solution:

    def isAnagram(self, s: str, t: str) ->bool:
        return are_anagrams(s, t)


<mask token>

def are_anagrams(w1, w2) ->bool:
    return sorted(w1) == sorted(w2)


class Solution:

    def isAnagram(self, s: str, t: str) ->bool:
        return are_anagrams(s, t)


if __name__ == '__main__':
    print(are_anagrams('hello', 'olleh'))
