X-Git-Url: https://projects.mako.cc/source/wordplay-cdsw-solutions/blobdiff_plain/4e09563052459f99272cfee99d44f8a9abce85cb..715cf79efb1139d981e5716ed14f471fbeaddb2a:/solution_4.py diff --git a/solution_4.py b/solution_4.py index c1e72ae..613aacd 100644 --- a/solution_4.py +++ b/solution_4.py @@ -1,13 +1,7 @@ import scrabble - -# Find words that match a**e*y. - - +# Find words that match a**e*y. for word in scrabble.wordlist: - if len(word) == 6 and word[0] == 'a' and word[3] == 'e' and word[5] == 'y': + if len(word) == 6 and word[0] == 'a' and word[3] == 'e' and word[5] == 'y': print word - - -