Would someone help me with this word problem?

Write a function that will accept three integers as parameters, call these three integers as start , end and step respectively.

-assume that start is always less than end and step is a positive integer greater than zero.

-thereafter, the function should print the numbers such that the first item is start, the second item is equivalent to the first item plus the value of step, the third item is equivalent to second item plus the value of step and so on. the last value to be printed should not be greater than end.