Alan Gauld wrote: > "Ricardo Aráoz" <[EMAIL PROTECTED]> wrote > >>> It still won't work. Strings are immutable, you can't use del >>> to delete a character. Try it. >> It comes straight from Idle (still warm ;-) ). >> Notice s = list(s) > > Shame and embarrassment! I read that code through both times and > never noticed the list conversion either time! I did wonder about the > join() but just dismissed it as irrelevant. > > Grovelling apologies. >
Don't worry, you can imagine MY 'shame and embarrasment' at being pointed that the while's should go separate as opposed to one within the other. 87( _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor