def is_anagram2(word1, word2):
    return get_unicode_sum(word1) == get_unicode_sum(word2)
>>> is_anagram2('cat', 'tac')
dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/src/builtin_structures/anagram.py/is_anagram2