Why are strings immutable?
DesertLinux at netscape.net
Sat Aug 21 15:43:13 CEST 2004
It is usually best to create a function in which you can
1) pass the string to
2) change it as needed
3) return the modified sting back to the original caller.
Can you tell us a little more about what you are trying to accomplish?
Brent W. Hughes wrote:
> I kind of hate to have to convert a string into a list, manipulate it, and
> then convert it back into a string. Why not make strings mutable?
More information about the Python-list