input: Write a function to generate an array of random numbers in Python. The function should accept an integer size as input and return a list of random integers of that size. Each integer in the array should be between 0 and 99.
  def generate_random_array(size: int) -> list:
      import numpy as np
      return np.random.randint(0, 100, size).tolist()
  
  assert generate_random_array(10) is not None
  assert len(generate_random_array(10)) == 10
  assert all(0 <= x <= 99 for x in generate_random_array(10))
output: def generate_random_array(size: int) -> list:
      import random
      return [random.randint(0, 99) for _ in range(size)]