I am working in Python right now.
My ch variable, which is the character variable has a character store in it, which has been entered by the user. I also have a string variable (string1) in which I want to add the character without over-writing the string variable.
i.e I want to do string1[i]=ch, where i can be any position.
when i do this in python, it gives an error saying: 'str' object does not support item assignment.
here, string1[i]=ch, is in a while loop.
Is there a proper way of doing this? Please help.