input: 
  def reverse_array(arr):
      """ Reverse the order of the values in the given array of integers.
      >>> reverse_array([1, 2, 3, 4, 5])
      [5, 4, 3, 2, 1]
      """
      return arr[::-1]  # Returns a slice of the list in reverse order
  
output:     for i in range(len(arr) // 2):
          arr[i], arr[-(i + 1)] = arr[-(i + 1)], arr[i]
      return arr