0 votes
in Python by
How do I modify a string in Python?

1 Answer

0 votes
by

You can’t, because strings are immutable. In most situations, you should simply construct a new string from the various parts you want to assemble it from.

Related questions

0 votes
asked Jan 3 in Python by DavidAnderson
0 votes
asked Jan 3 in Python by DavidAnderson
...