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

Benjamin Mako Hill || Want to submit a patch?