input: from typing import List
  
  def populateArray(array_length: int) -> List[int]:
      """Generate an array of given length populated with random numbers from 1 to 100.
      >>> populateArray(5)
      [45, 78, 23, 98, 12]  # Example output
      >>> populateArray(3)
      [34, 56, 78]  # Example output
      """
      array = []
      for i in range(array_length):
          array.append(random.randint(1, 100))
      return array
output:     import random