Anonymous user
Wordplay: Difference between revisions
→Goals
imported>Jesstess No edit summary |
imported>Mako (→Goals) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1:
[[File:Crossword.png|200px]]
You are filling out a crossword and need a word that fits the pattern E*G****R. What are your options? How many words have all 5 vowels in order? What's the only common English word that ends in 'mt'? Use Python to answer questions like this instantly while practicing manipulating data from a file and regular expressions.
==Setup==
See the Friday setup page and the section on installing dependencies for information on getting setup.
==Handout==
[[Wordplay handout]]: goals and cheat sheet.
==Goals==
Line 9 ⟶ 15:
* Have fun using Python to cheat at Scrabble and crosswords.
* Practice using lists and manipulating strings.
==
* Find and print the words that start with "ee".
Line 19 ⟶ 24:
* Find and print the words that have all 5 vowels in alphabetical order.
* Look for other interesting properties of English words in http://en.wikipedia.org/wiki/English_words_with_uncommon_properties and write code to find the words that have these properties.
|