class Solution:
    def isAnagram(self, s: str, t: str) -> bool:
         s_list = list(s)
         s_list.sort()
         t_list = list(t)
         t_list.sort()
         if s_list == t_list:
             return True
         else:
             return False

if __name__ == '__main__':
    sol = Solution()
    output = sol.isAnagram('a', 'b')
    print(output)


