reworked these examples a bit based on feedback in class
[wordplay-cdsw-solutions] / solution_1.py
1 import scrabble
2
3 # Print every word that has 9 or more letters and starts with the letter "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?