projects
/
wordplay-cdsw-solutions
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added new python programs with solutions for the ideas listed on the wordplay page
[wordplay-cdsw-solutions]
/
idea_1.py
diff --git a/idea_1.py
b/idea_1.py
new file mode 100644
(file)
index 0000000..
640761c
--- /dev/null
+++ b/
idea_1.py
@@ -0,0
+1,7
@@
+# 1. Find and print the words that start with "ee".
+
+import scrabble
+
+for word in scrabble.wordlist:
+ if word[0:2] == "ee":
+ print(word)
Benjamin Mako Hill
||
Want to submit a patch?