added new python programs with solutions for the ideas listed on the wordplay page
[wordplay-cdsw-solutions] / idea_2.py
1 # 2. Find and print the words that end in "mt". How about "gry"?
2
3 import scrabble
4
5 for word in scrabble.wordlist:
6     if word[-2:] == "mt":
7         print(word)
8     elif word[-3:] == "gry":
9         print(word)
10

Benjamin Mako Hill || Want to submit a patch?