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
| """ | |
| Original video: https://www.youtube.com/watch?v=_-AfhLQfb6w | |
| Quick and dirty brute force approach with aggressive pruning. | |
| This is a slightly faster script than in the video (8:55 on my machine; 5:45 when using Pypy). | |
| """ | |
| import string | |
| with open('words_alpha.txt') as f: |