is_anagram = lambda x1, x2: sorted(x1) == sorted(x2) print(is_anagram('silent','listen')) # True print(is_anagram('elivs', 'dead')) # False