diff options
Diffstat (limited to 'progs/a482.py')
-rw-r--r-- | progs/a482.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a482.py b/progs/a482.py new file mode 100644 index 0000000..da6fe1f --- /dev/null +++ b/progs/a482.py @@ -0,0 +1,5 @@ +def search(arr,n) :
+ XOR = 0
+ for i in range(n) :
+ XOR = XOR ^ arr[i]
+ return (XOR)
\ No newline at end of file |