We discuss some ways to compute a list consisting of elements that are successive difference in the list. To create a list of integers between 0 and N a solution is to use the range N function. Create a list of integers.
Read all values and append to the numberlist_.
Run one for loop. L i for i in range 10 l 0 1 2 3 4 5 6 7 8 9 l list range 10 l 0 1 2 3 4 5 6 7 8 9 To create a list of integers between N and M with MN the function range can still be used. Create a new short integer field. Numberlist_ will hold all the numbers and resultlist_ will hold the final list of numbers.