input: Write a function to swap the elements of two arrays of integers. The arrays are of the same length and each element at the corresponding index in the two arrays should be swapped. If the arrays are not of the same length, raise an assertion error.
  
  def swap(arr1, arr2):
      assert len(arr1) == len(arr2)
      for i in range(len(arr1)):
          temp = arr1[i]
          arr1[i] = arr2[i]
          arr2[i] = temp
          
  assert swap([3, 5, 6, 9], [2, 4, 7, 8])==None
  assert swap([1, 2, 3], [4, 5, 6])==None
  assert swap([], [])==None
  assert swap([7, 8, 9, 10], [11, 12, 13, 14])==None
output: def swap(arr1, arr2):
      assert len(arr1) == len(arr2)
      for i in range(len(arr1)):
          temp = arr1[i]
          arr1[i] = arr2[i]
          arr2[i] = temp