input: Write a function to sort and print out the elements of an array of integers.
  assert sort_and_print([17, 41, 5, 22, 54, 6, 29, 3, 13])==[3, 5, 6, 13, 17, 22, 29, 41, 54]
  assert sort_and_print([3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5])==[1, 1, 2, 3, 3, 4, 5, 5, 5, 6, 9]
  assert sort_and_print([10, -5, 30, 15, -10])==[-10, -5, 10, 15, 30]
  assert sort_and_print([])==[]
  assert sort_and_print([1])==[1]
output: def sort_and_print(arr):
      return sorted(arr)