X-Git-Url: https://projects.mako.cc/source/wordplay-cdsw-solutions/blobdiff_plain/884ad8e21ea1ea9d1dd411b2a503d0dff4294c59..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 - - -