how to change char in string python by 1 code example
Example: python change character in string
mytext = 'Hello Zorld'
mytext = mytext.replace('Z', 'W')
print mytext,
mytext = 'Hello Zorld'
mytext = mytext.replace('Z', 'W')
print mytext,