input: Write a function to populate an array with random numbers ranging from 1 to 100. The function should take an integer argument representing the length of the array to be populated.
  
  assert populateArray(5) in [[12, 34, 56, 78, 90], [99, 2, 98, 1, 50], [15, 23, 32, 76, 63]]  # Output array will vary each time due to randomness
  assert populateArray(3) in [[1, 67, 33], [55, 22, 88], [100, 57, 62]]  # Output array will vary each time due to randomness
  assert populateArray(0) == []
  assert populateArray(1) in [[45], [78], [10]]  # Output array will vary each time due to randomness
output: import random
  
  def populateArray(length):
      return [random.randint(1, 100) for _ in range(length)]