Adding instant variable value in a list using python grasshopper

HELLO, I am fatima plz I need a help.
If we have a slider (of an instant value )and we change its values (as shown in the 3 figures). How Can I record all the values without deleting them each time I Change it ???
I want to have a result [0,1,2] ??? all in one list after changing the slider****strong text

Any help plzz??



Fatima belok
Best regards

Have a look here:

Thank you veryyyyy much for replying fast. I really appreciate that
I am trying it now

Best regards
Fatima Belok