summaryrefslogtreecommitdiff
path: root/progs/a482.py
blob: da6fe1fad26d78b19e29ecc7668130a9ff3fc921 (plain)
1
2
3
4
5
def search(arr,n) :
    XOR = 0
    for i in range(n) :
        XOR = XOR ^ arr[i]
    return (XOR)