Created
October 27, 2017 18:30
-
-
Save han8909227/bb5c514ce74f341e234737aae83637cb to your computer and use it in GitHub Desktop.
Anagram
This file contains 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 ana(a, b) | |
a = list(a).sort() | |
b = list(b).sort() | |
return a == b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment