import numpy as np

arr = np.linspace(1,10,19) # An increment of 0.5
print("Increment of 0.5 :-- \n{}".format(arr))

arr = np.linspace(1,100,199) # An increment of 0.5
print("Increment of 0.5 :-- \n{}".format(arr))