Range instruction

The range instruction can be used to generate a list of numbers. In the following case it generates numbers [0,1,2,3,4,5,6,7,8,9]

So if we look at the parameters, we can see it includes the first number 0 but stops just before the second number 10.