input: Write a function to generate an array of random numbers between two specified values. The function should take two arguments, min and max, which define the range of the random numbers to be generated. The function should return an array containing random numbers within the specified range.
  
  assert generate_array(0, 50)
output: import random
  
  def generate_array(min, max):
      return [random.randint(min, max) for _ in range(10)]