Skip to content

Instantly share code, notes, and snippets.

@han8909227
Created October 27, 2017 18:30
Show Gist options
  • Save han8909227/bb5c514ce74f341e234737aae83637cb to your computer and use it in GitHub Desktop.
Save han8909227/bb5c514ce74f341e234737aae83637cb to your computer and use it in GitHub Desktop.
Anagram
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