reworked these examples a bit based on feedback in class
[wordplay-cdsw-solutions] / solution_5_easy.py
index eec37fa096f0d551bd321e83dc7da98a96044983..9dda191d5317c366be304fce82f71b344dc59c39 100644 (file)
@@ -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?