1
0
Fork 0
mirror of https://gitlab.com/mfocko/CodeWars.git synced 2024-11-09 19:19:07 +01:00
CodeWars/7kyu/anagram_detection/solution.py

3 lines
104 B
Python
Raw Normal View History

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