python edit string variable

Solutions on MaxInterview for python edit string variable by the best coders in the world

showing results for - "python edit string variable"
Janice
09 Jul 2016
1text = 'abcdefg'
2new = list(text)
3new[6] = 'W'
4''.join(new)