I am looking for a function in Python, which I have used before, which takes three arguments. Let's say x
and y
, and stepsize
. Then it will generate a list starting at x
, taking steps of size stepsize
and ending at y
.
Example would be:
listIwant = function(20,30,2)
print(listIwant)
And then it would print:
[20 22 24 26 28 30]
Can't seem to find the function I am looking for.