input: Write a python function to generate an array of 10 random integers between 1 and 10.
  assert len(generate_random_array()) == 10
  assert all(1 <= x <= 10 for x in generate_random_array())
  assert isinstance(generate_random_array(), np.ndarray)
output: import numpy as np
  
  def generate_random_array():
      return np.random.randint(1, 11, size=10)