input: Write a function to populate an array with random numbers from 1 to 100. The function should take the length of the array as input and return the populated array.
  
  def populateArray(array_length):
   array = []
   for i in range(array_length):
    array.append(random.randint(1, 100))
   return array
  
  assert populateArray(5)==[42, 15, 67, 89, 3]
  assert populateArray(0)==[]
  assert populateArray(3)==[22, 54, 98]
  assert populateArray(1)==[100]
  assert populateArray(10)==[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
output: def populateArray(array_length):
   array = []
   for i in range(array_length):
    array.append(random.randint(1, 100))
   return array