Whitespace corrections, a couple bug fixes, replacing a format string with constructi...
[wordplay-cdsw-solutions] / solution_4.py
1 import scrabble
2
3 # Find words that match a**e*y.
4
5 for word in scrabble.wordlist:
6     if len(word) == 6 and word[0] == 'a' and word[3] == 'e' and word[5] == 'y':
7         print word

Benjamin Mako Hill || Want to submit a patch?