I have a list of strings.
If one of the strings (e.g. at index 5) is the empty string, I want to replace it with "N".
How do I do that? The naive method (for a java programmer) does not work:
string_list[5] = "N"
gives
'str' object does not support item assignment
(string_list originally came from a .csv-file- that is why it might contain empty strings.)