Whitespace corrections, a couple bug fixes, replacing a format string with constructi...
[wordplay-cdsw-solutions] / solution_1.py
1 import scrabble
2
3 # Print every word that has 9 or more letters and starts with a.
4
5 for word in scrabble.wordlist:
6     if word[0] == 'a' and len(word) >= 9:
7         print word

Benjamin Mako Hill || Want to submit a patch?