string manipulation python code example
Example 1: how to create string in python
string = "this is string"
#or
string = 'this is also string'
Example 2: python edit string variable
text = 'abcdefg'
new = list(text)
new[6] = 'W'
''.join(new)
Example 3: how to create a string in python
var1 = "A String"