input: Write a function to reverse the order of values in an array of integer 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([10, 20, 30, 40, 50])==[50, 40, 30, 20, 10]
  assert reverse_array([])==[]
  assert reverse_array([1])==[1]
output: def reverse_array(arr):
    return arr[::-1]