input: Write a function to sort and print out the elements of an array of integers. The function should accept a list of integers as input, sort the list in ascending order, and print the sorted list.
  
  assert sort_and_print_array([17, 41, 5, 22, 54, 6, 29, 3, 13])==None
  # Expected Output: [3, 5, 6, 13, 17, 22, 29, 41, 54]
  
  assert sort_and_print_array([5, 3, 8, 1, 2])==None
  # Expected Output: [1, 2, 3, 5, 8]
  
  assert sort_and_print_array([])==None
  # Expected Output: []
output: def sort_and_print_array(arr):
      sorted_arr = sorted(arr)
      print(sorted_arr)