input: Write a python function to generate a random array of specified length.
  assert len(generate_random_array(5)) == 5
  assert len(generate_random_array(10)) == 10
  assert all(0 <= x < 100 for x in generate_random_array(20))
output: import random
  
  def generate_random_array(length):
      return [random.randint(0, 99) for _ in range(length)]