input: Write a function to populate an array with random numbers from 1 to 100. The function should take an integer as input, representing the length of the array, and return the array filled with random numbers.
  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)]
output: import random
  
  def populateArray(length):
      return [random.randint(1, 100) for _ in range(length)]