code: def reverse_arr(arr):
      start = 0
      end = len(arr) - 1
  
      while start < end:
          # reverse the array from the start index to the end index by
          # swaping each element with the pair from the other part of the array
          swap(arr, start, end)
          start += 1
          end -= 1
  
      return arr
  
label_desc: Use image node_id 1 for calling a global function with example usage: reverse_arr(arr) and returns: arr