Human: Python function to slice with step is not supported. Assistant: 
Here is a Python function to slice with step is not supported

import numpy as np

def slice_with_step(start, stop, step):
    """
    Slice with step is not supported
    """
    if step == 0:
        return slice(start, stop, step)
    else:
        return slice(start, stop, step)

# Enter the start, stop and step
start = 0
stop = 10
step = 2

# Calling the function
print((slice_with_step(start, stop, step)))

#Example Output
# slice(0, 10, 2)

#Remember to inspect code for bugs.