Created
April 10, 2018 03:32
-
-
Save calthoff/045fa73d89f47bf369ff36c52b81ab42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def is_anagram(w1, w2): | |
| w1 = w1.lower() | |
| w2 = w2.lower() | |
| return sorted(w1) == sorted(w2) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment