import numpy as np # create null vector of size 10 null_vector = np.zeros(10) # set the fifth value to 1 null_vector[4] = 1 print(null_vector)