On Mon, Apr 8, 2013 at 7:48 AM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > Like every programming problem, the solution is to break it apart into > small, simple steps that even a computer can follow. > ...
5) Shortcut the whole thing, since the problem was underspecified, by using a literal. words = ["The Sun", "rises in", "in the", "east of", "our earth"] *dive for cover against rotten tomatoes* ChrisA -- http://mail.python.org/mailman/listinfo/python-list