Posts: 4,648
Threads: 1,495
Joined: Sep 2016
is there any form of mutable strings in python?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,648
Threads: 1,495
Joined: Sep 2016
it would be nice if there was a mutable string that can handle the full range of values that regular immutable strings can. for now, i convert them to a list, work on them as needed, and finally join it all back to a regular immutable string (if i need the result as a string). mutable strings would probably be no more efficient than a list, but, having them could make for cleaner more readable code by not having the conversions coded in there.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.