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