numpy array range of values code example Example: numpy create array with values in range np.arange(2,11)