input: Write a function to generate an array of random numbers between two specified values. The function should take two parameters, min and max, and return an array containing random numbers within that range.
  assert generate_array(0, 50) == [random number between 0 and 50, ...]
  assert generate_array(10, 20) == [random number between 10 and 20, ...]
  assert generate_array(0, 0) == [0]
  assert generate_array(-5, 5) == [random number between -5 and 5, ...]
  assert generate_array(100, 100) == [100]
output: import random
  
  def generate_array(min, max):
      if min == max:
          return [min]
      return [random.randint(min, max) for _ in range(10)]