reworked these examples a bit based on feedback in class
[wordplay-cdsw-solutions] / solution_8.py
index 75aaa5e2e9cca63c7d901e62e97cfa34690391a2..732deeba12ceb73c1bccb693eafd5d04c4c6f28c 100644 (file)
@@ -13,5 +13,5 @@ for word in scrabble.wordlist:
             max_word = word
             max_score = score
 
             max_word = word
             max_score = score
 
-print max_score
-print max_word
+print(str(max_score) + " : " + max_word)
+

Benjamin Mako Hill || Want to submit a patch?