I have a simple list of two strings: indicator = ["unassigned","unassigned"] Under some conditions I want to change one of these. In a loop for k in range(0,2) I call a function which returns, among other things, a string called ind Then I have indicator[k] = ind This gets me: 'str' object does not support item assignment. What is my mistake? Continue reading...