how to create range of numbers in python like in matlab,"print(np.linspace(1, 3, num=4, endpoint=False))"