Whitespace corrections, a couple bug fixes, replacing a format string with constructi...
[wordplay-cdsw-solutions] / solution_5_easy.py
index d34efdc085a6b5e12b02df5920f4b821d250808b..eec37fa096f0d551bd321e83dc7da98a96044983 100644 (file)
@@ -1,7 +1,6 @@
 import scrabble
 
-
-# Print every other word that starts with 'a' and ends with 9
+# Print every other word that starts with 'a' and is more than 9 letters long.
 # This is the most basic implementation: keep a boolean to track whether the word
 # was printed.
 
@@ -14,4 +13,3 @@ for word in scrabble.wordlist:
             should_i_print = False
         else:
             should_i_print = True
-            

Benjamin Mako Hill || Want to submit a patch?