input: Write a function to generate an array of 10 evenly spaced numbers between 0 and 10.
  assert np.array_equal(generate_array(), np.linspace(0, 10, 10))
  assert len(generate_array()) == 10
  assert generate_array()[0] == 0
  assert generate_array()[-1] == 10
output: def generate_array():
      import numpy as np
      return np.linspace(0, 10, 10)