📜  字谜 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:21.336000             🧑  作者: Mango

代码示例3
def anagram(a, b):
    return True if sorted(a) == sorted(b) else False

# Based on the answer below :D