input: Write a function that takes an array of integer values and reverses the order of the values.
  
  def reverse_array(arr):
    return arr[::-1]  # Returns a slice of the list in reverse order
  
  assert reverse_array([1, 2, 3, 4, 5]) == [5, 4, 3, 2, 1]
  assert reverse_array([3, 4, 5, 6]) == [6, 5, 4, 3]
  assert reverse_array([7, 8]) == [8, 7]
  assert reverse_array([]) == []
output: def reverse_array(arr):
    return arr[::-1]