Boston Python Workshop 4/Wordplay: Difference between revisions

removing spam
imported>Jesstess
(Created page with '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 w…')
 
imported>Brittag
(removing spam)
 
(5 intermediate revisions by 2 users not shown)
Line 5:
See the [http://openhatch.org/wiki/Boston_Python_Workshop_4/Friday Friday setup instructions].
 
==GoalsHandout==
 
[[Boston_Python_Workshop_4/Wordplay_handout| Wordplay handout]]: goals and cheat sheet.
* Have fun using Python to cheat at Scrabble and crosswords.
* Practice using lists and manipulating strings.
* Get experience with regular expressions.
 
<hr />
==Suggested exercises==
 
[[Boston Python Workshop 4/Saturday projects|&laquo; Back to the Saturday Projects page]]
* Find and print the words that start with "ee".
* Find and print the words that end in "mt". How about "gry"?
* Find and print the longest word that has no vowels.
* Find an print the words that contain 4 or more 'l's.
* 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.
 
[[Boston Python workshopWorkshop 4/Saturday projects|&laquo; Back to the SaturdayWorkshop projecthome page]]
Anonymous user