Created
December 18, 2014 09:07
-
-
Save veiset/e5ca1ffc86571030f141 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
from collections import Counter | |
with open('words.txt', 'r') as f: | |
print Counter(["".join(sorted(w.strip().lower())) for w in f]).most_common(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment