Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

NumPy bitwise_xor Code When inputs are arrays

# welcome to softhunt.net
# Python program explaining
# bitwise_xor() function

import numpy as np

array1 = [3, 4, 54]
array2 = [23, 2, 3]

print ("Input array1 : ", array1)
print ("Input array2 : ", array2)
	
ans = np.bitwise_xor(array1, array2)
print ("Output array after bitwise_xor: ", ans)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #NumPy #Code #When #inputs #arrays
ADD COMMENT
Topic
Name
2+4 =