I would like to get help for writing two functions: First one would allow me to restore a series of numbers in the range [0,1,2,3] inside a variable similar to
[0,1,2,3]