projects
/
wordplay-cdsw-solutions
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1 from ben-zen/master
[wordplay-cdsw-solutions]
/
solution_4.py
diff --git
a/solution_4.py
b/solution_4.py
index c1e72aefa1e89687a874c4dcfb1c93f55584e7a5..613aacd9e71df99440ed9a543092669e7df43ad2 100644
(file)
--- a/
solution_4.py
+++ b/
solution_4.py
@@
-1,13
+1,7
@@
import scrabble
import scrabble
-
-# Find words that match a**e*y.
-
-
+# Find words that match a**e*y.
for word in scrabble.wordlist:
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
print word
-
-
-
Benjamin Mako Hill
||
Want to submit a patch?