human
What is a good Python function to create range in steps? What is python's good function to create a range in steps.
assistant
Here is a Python function to create a range in steps

import numpy as np

def range_in_steps(start, end, step):
    """Given start, end and step, will return a list of numbers
       from start to end in steps of step."""
    return [start + i * step for i in range(int((end - start) / step) + 1)]

# Enter the values
start = 0
end = 10
step = 2

# Calling the function
print((range_in_steps(start, end, step)))

#Example Output
# [0, 2, 4, 6, 8, 10]

#Remember to inspect code for bugs.