projects
/
wordplay-cdsw-solutions
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added new python programs with solutions for the ideas listed on the wordplay page
[wordplay-cdsw-solutions]
/
solution_5_easy.py
diff --git
a/solution_5_easy.py
b/solution_5_easy.py
index eec37fa096f0d551bd321e83dc7da98a96044983..9dda191d5317c366be304fce82f71b344dc59c39 100644
(file)
--- a/
solution_5_easy.py
+++ b/
solution_5_easy.py
@@
-9,7
+9,7
@@
should_i_print = True
for word in scrabble.wordlist:
if word[0] == 'a' and len(word) >= 9:
if should_i_print:
- print
word
+ print
(word)
should_i_print = False
else:
should_i_print = True
Benjamin Mako Hill
||
Want to submit a patch?