For this Question: You are given an array A, you need to create an array B such that B(i) is the Xor of all the elements of A except A(i).The first line of the input contains an integer N, the number of elements in array A.
The second line of input contains N singly spaced integers, the elements of the array A.

Constraints
1 <= N <= 300000
0 <= A(i) <= 1000000000Output the required array B.Sample Input
4
3 5 7 6

Sample Output
4 2 0 1

Explanation:
B(0) = 5^7^6 = 4
B(1) = 3^7^6 = 2
B(2) = 3^5^6 = 0
B(3) = 3^5^7 = 1, I have written this Solution Code: n= int(input())
arr = list(map(int,input().split()))

for i in range(0,n):
    sums = 0
    for j in range(0,n):
        if(i==j):
            continue
        else:
            sums = sums ^ arr[j]
    print(sums,end=" "), In this Programming Language: Python, Now tell me if this Code is compilable or not?