[Tutor] Suggestions to improve this first effort?

Kent Johnson kent37 at tds.net
Sun Feb 17 20:54:54 CET 2008


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


More information about the Tutor mailing list