Code for Puzzlers

Now with formatting

Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.

from itertools import permutations
words = set(line.strip().lower() for line in open('/usr/share/dict/words'))
trips = 'AMI BLO BST COG CRE ERE NAC OFL OUR QTH STU SZE YME'.lower().split()
maybe = set(''.join(p)[0:7] for p in permutations(trips, 3))
maybe & words
Name:
Mail: (not shown)

Please type this: