reworked these examples a bit based on feedback in class
[wordplay-cdsw-solutions] / solution_1.py
index dc2c57b68ca78c07411e39e06549f5e860f0bc1e..40ad9f3740ed36b06410603c83df34f003829ddd 100644 (file)
@@ -1,12 +1,7 @@
 import scrabble
 
 import scrabble
 
-
-# Print every word that has 9 or more letters and starts with a. 
-
+# Print every word that has 9 or more letters and starts with the letter "a"
 
 for word in scrabble.wordlist:
     if word[0] == 'a' and len(word) >= 9:
 
 for word in scrabble.wordlist:
     if word[0] == 'a' and len(word) >= 9:
-        print word
-            
-
-
+        print(word)

Benjamin Mako Hill || Want to submit a patch?