Ajith Gopinath wrote:
Thanks folks.

|| a j i t ||


On Sat, Nov 7, 2009 at 7:49 AM, bob gailer <[email protected] <mailto:[email protected]>> wrote:

    Shashwat Anand wrote:

        @Bob: the solution seems promising, and it's fast. Thanks for
        the improvement. However I would like to do a minor change to
        the code to prevent it going to infinite loop.


Be mindful that if the original string contains 'lul' you might miscount.

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to