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 an 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) != populateArray(5)  
  assert len(populateArray(5)) == 5  
  assert all(1 <= num <= 100 for num in populateArray(10)) == True
output: def populateArray(array_length):
   array = []
   for i in range(array_length):
   array.append(random.randint(1, 100))
   return array