List Functions In Python Replace Characters