input: Write a function to generate an array of random numbers between 1 and 100, given the length of the array. If the array length is zero, return an empty array.
  
  import random
  
  def populateArray(array_length):
      array = []
      for i in range(array_length):
          array.append(random.randint(1, 100))
      return array
  
  assert populateArray(5) == [random.randint(1, 100) for _ in range(5)]
  assert populateArray(0) == []
  assert populateArray(10) == [random.randint(1, 100) for _ in range(10)]
  assert populateArray(3) == [random.randint(1, 100) for _ in range(3)]
  assert populateArray(7) == [random.randint(1, 100) for _ in range(7)]
output: def populateArray(array_length):
      array = []
      for i in range(array_length):
          array.append(random.randint(1, 100))
      return array