"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.

Alan G. 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to