Joel Goldstick joel.goldstick at
Mon Feb 29 08:05:22 EST 2016

On Mon, Feb 29, 2016 at 7:53 AM, <tomwilliamson115 at> wrote:

> Thanks. If a word appears more than once how would I bring back both
> locations?

This is not generally a free coding service.  Fortunately for you Tom,
Jacob was kind enough to do your homework for you.  The problem with doing
someone's homework for them is that they don't learn anything.  Why don't
you go line by line through his code and understand what he has written.  I
think if you do that you will see how to solve the problem of finding then
next match (if there is one)

> --

Joel Goldstick <>

More information about the Python-list mailing list