input: Write a function to populate an array with random numbers from 1 to 100 given a specified length. If the given length is zero then 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], 5)
  assert populateArray(0)==[]
  assert isinstance(populateArray(3), list)
  assert len(populateArray(7))==7
  assert all(1 <= x <= 100 for x in populateArray(10))
output: def populateArray(array_length):
   array = []
   for i in range(array_length):
   array.append(random.randint(1, 100))
   return array