I am trying to run the following script with Python:
test_string = "Hallo"
test_string[0] = "T"
And I am getting the following error:
'str' object does not support item assignment
Now I know you can use the replace default function of Python, but is there any other way to achieve the above without using a standard python function ?
thanks,
test_string = list("Hallo") test_string[0] = 'T'n