<human>:  How to create range of numbers in Python like in MATLAB
<bot>: Here is some code to create 4 numbers in range between 1 and 3

print(np.linspace(1, 3, num=4, endpoint=False))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.