Tiger12506 wrote: > And s2 = s2[:-1] + s > can be written as > s2 = s2+s
No, these are not equivalent, the original version strips the last character from s2. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor