func_code: def swap(a, i, j):
      temp = a[i]
      a[i] = a[j]
      a[j] = temp
  
  
  def reverse(a):
      i = 0
      while i < len(a) / 2:
          j = len(a) - i - 1
          swap(a, i, j)
          i += 1
annotation: def swap(a, i, j):
      temp = a[i]
      a[i] = a[j]
      a[j] = temp
  
  
  def reverse(a):
      i = 0
      while i < len(a) / 2:
          j = len(a) - i - 1
          swap(a, i, j)
          i += 1
      return a
  