input: Write a function to take as input two array of integers and swap their elements. If the two arrays are not of the same length, raise an AssertionError.
  
  assert swap([3, 5, 6, 9], [2, 4, 7, 8]) == None
  assert swap([1, 2, 3], [4, 5, 6]) == None
  assert swap([7, 8], [9, 10]) == None
  assert swap([1, 2], [3]) # Raises an AssertionError
output: def swap(arr1, arr2):
      assert len(arr1) == len(arr2), "Arrays must be of the same length"
      for i in range(len(arr1)):
          arr1[i], arr2[i] = arr2[i], arr1[i]