input: Write a python function to print the elements of an array.
  assert print_array([1, 2, 3, 4, 5]) is None
  assert print_array(['a', 'b', 'c']) is None
  assert print_array([]) is None
output: def print_array(arr):
      for element in arr:
          print(element)