input: Write a python function to generate an array of 10 random values between 0 and 1 using numpy.
  assert len(generate_random_array()) == 10
  assert all(0 <= val <= 1 for val in generate_random_array())
output: import numpy as np
  
  def generate_random_array():
      return np.random.rand(10)