I am trying to write some code that edit's only a certain part of a string.
I have tried doing something along the lines of number[0][0] = 4 but I always get the error "TypeError: 'str' object does not support item assignment" and I am quite complexed and can not find any information on the web on how to do something along these lines.
List = ['8J', '9D']
List[0][0] = 7
I expect the List to change to ['7J'. '9D'] but all I get is the error "TypeError: 'str' object does not support item assignment".