input: Write a python function to fill a 1-dimensional array of a given size with random numbers between 1 and 100.
  assert len(generate_random_array(5)) == 5
  assert all(1 <= num <= 100 for num in generate_random_array(5))
  assert len(generate_random_array(10)) == 10
output: import random
  
  def generate_random_array(size):
      return [random.randint(1, 100) for _ in range(size)]