This code doesn’t want to change the value of a part of a list in a for loop…
I’ve checked, all of the names exist and the variable I’m trying to change the part of the list has a valid value.
Is there something I’m not noticing?
for i in range(len(string)):
P.S. I checked with Python tutor, but I couldn’t find anything in the code visualization that could help me, the program just goes over the line without changing anything…