Ajith Gopinath wrote:
Thanks folks.

|| a j i t ||


On Sat, Nov 7, 2009 at 7:49 AM, bob gailer <bgai...@gmail..com <mailto:bgai...@gmail.com>> 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  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to