How to replace characters in a string?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jun 8 22:43:40 EDT 2022


On 9/06/22 5:55 am, Dennis Lee Bieber wrote:

> 	There are no mutable strings in Python.

If you really want a mutable sequence of characters, you can
use array.array, but you won't be able to use it directly in
place of a string in most contexts.

-- 
Greg



More information about the Python-list mailing list