reworked these examples a bit based on feedback in class
[wordplay-cdsw-solutions] / solution_3.py
index a3ea28d4f9e7f5c7cf7398362694c5700b9bc0c9..4916f57f01eb6abbd2d4214c580415ba9a4344a0 100644 (file)
@@ -1,12 +1,6 @@
 import scrabble
 
-
-# Find all the words that end in 'nge' 
-
-
+# Find all the words that end in 'nge'
 for word in scrabble.wordlist:
     if word[-3:] == 'nge':
-        print word
-            
-
-
+        print(word)

Benjamin Mako Hill || Want to submit a patch?