For this Question: Given an array of size 2*N in the form as [x1, x2.. xn, y1, y2,. yn], your task is to shuffle the array in the form given as [x1, y1, x2, y2,. xN, yN]First line of input contains a single integer N. Next line of input contains 2*N space separated integers depicting the values of the array.

Constraints:-
1 <= N <= 10000
1 <= Arr[i] <= 100000Print the shuffled array.Sample Input:-
3
1 2 3 4 5 6

Sample Output:-
1 4 2 5 3 6

Sample Input:-
2
2 4 6 8

Sample Output:-
2 6 4 8, I have written this Solution Code: a=input()
a=int(a)
arr=input().split()
i=0
j=int(len(arr)/2)
while(i<len(arr)/2):
    print (arr[i], arr[j], end=' ')
    i+=1
    j+=1, In this Programming Language: Python, Now tell me if this Code is compilable or not?