projects
/
wordplay-cdsw-solutions
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reworked these examples a bit based on feedback in class
[wordplay-cdsw-solutions]
/
solution_8.py
diff --git
a/solution_8.py
b/solution_8.py
index 75aaa5e2e9cca63c7d901e62e97cfa34690391a2..732deeba12ceb73c1bccb693eafd5d04c4c6f28c 100644
(file)
--- a/
solution_8.py
+++ b/
solution_8.py
@@
-13,5
+13,5
@@
for word in scrabble.wordlist:
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?