Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

NumPy bitwise_xor Code When inputs are numbers

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

import numpy as np
num1 = 5
num2 = 15

print ("Input number1 : ", num1)
print ("Input number2 : ", num2)
	
ans = np.bitwise_xor(num1, num2)
print ("bitwise_xor of 5 and 15 : ", ans)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #NumPy #Code #When #inputs #numbers
ADD COMMENT
Topic
Name
8+9 =