Im trying to change a string in a list called lista
composed by n times |_|
, in a function I'm trying to change one specific place of the list with "X" but nothing is working
lista=["|_|","|_|","|_|","|_|","|_|","|_|","|_|","|_|","|_|","|_|"]
i want to change only the middle one to |X|
I already tried different methods like, the command replace or pop and then insert a new value but nothing as changed and always gives me an error