it is probably a trivial question, but I could not find it in the documentation: how do you slice an array in SC?
a = [1,2,4,5,7,8];
Let’s say I want the first three values, or some values in the middle, how can I do that?
In python would be something like:
a[0:3]
a[2:5]
How can do that in SC?