i want to edit a value i have insert with append, is it possible ?

Exemple:

```
list = []

list.append[myuserid, 'true']

```

Now i want to edit this for change value true by false for exemple, how i can do this ?

I have try:

```
for data in list:
    if data == [myuserid, 'true']:
        data = [myuserid, 'false']

```

But now if i print data i have this:

```
[myuserid, 'true'], [myuserid, 'false']

```

I want to change the existing value.. not add a more values :/ have you a solution please ?