input: Write a function to populate an array with random numbers from 1-100. Given the length of the array, the function should return the populated array.
  assert populateArray(5)==[58, 72, 93, 41, 17]
  assert populateArray(3)==[23, 76, 51]
  assert populateArray(0)==[]
output: import random
  
  def populateArray(length):
      return [random.randint(1, 100) for _ in range(length)]