[Tutor] Programming exercises online

Timothy Wilson wilson@visi.com
Mon, 14 Aug 2000 09:06:11 -0500 (CDT)


On Sun, 13 Aug 2000, Albert Antiquera wrote:

> So, I 
> guess what I'm asking is: Does anybody knows a site that has a list or 
> tutorials on Python ***PLUS*** practice exercises that I can sharpen my 
> skills at??? Thanks in advance.

Hi Albert,

One of the things I've had fun with lately is using Python to solve the
weekly puzzle on public radio's Weekend Edition program. I created a module
that contains some useful functions for word games and use those functions
along with some custom code each week to try to figure out the puzzle.

My puzzle module has functions for loading my system's dictionary into a
Python list, filtering a list of words for all words of a given length,
finding the longest word or words in a given list, etc. It's been good
exercise.

You can see the weekly puzzle at http://www.npr.org/programs/wesun/puzzle/

Not every puzzle is of the type that can be solved (at least partially)
by using Python, but many are. Using my module, I can usually solve the
straight-forward ones in a few minutes. Good luck and have fun.

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/