input: Write a function to generate an array of random numbers between two specified values. The function should take two parameters: min (the lower bound) and max (the upper bound). The function should return an array containing random integers between min and max (inclusive).
  assert generate_array(0, 50) != generate_array(0, 50)
  assert len(generate_array(0, 50)) == 50
  assert all(0 <= x <= 50 for x in generate_array(0, 50))
  assert generate_array(-10, 10) != generate_array(-10, 10)
  assert len(generate_array(-10, 10)) == 20
  assert all(-10 <= x <= 10 for x in generate_array(-10, 10))
output: import random
  
  def generate_array(min, max):
      return [random.randint(min, max) for _ in range(max - min + 1)]