I am working on python string.
str = "Hello"
b = 0
srr = ""
for a in str:
srr[b] = a #'str' object does not support item assignment
b = b + 1
This is my sample code. I was trying to read some characters from a string and put it into another string like C or Java but it’s not working for my case.
Thanks. I must recognize your help.