How to create range of numbers in Python like in MATLAB,"print(np.linspace(1, 3, num=5))"