input: Write a function to populate an array with random numbers from 1-100. Given the length of the array, return the populated array.
  assert populateArray(5) == [42, 17, 89, 50, 67]
  assert populateArray(3) == [23, 91, 45]
  assert populateArray(0) == []
  assert populateArray(2) == [78, 12]
  assert populateArray(1) == [34]
output: import random
  
  def populateArray(length):
      return [random.randint(1, 100) for _ in range(length)]