1
0
Fork 0
mirror of https://gitlab.com/mfocko/CodeWars.git synced 2024-09-16 20:56:57 +02:00
CodeWars/7kyu/anagram_detection/solution.py

3 lines
104 B
Python
Raw Permalink Normal View History

def is_anagram(test, original):
return sorted(list(test.lower())) == sorted(list(original.lower()))