Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

NumPy bitwise_or Code When inputs are numbers

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

import numpy as np
num1 = 5
num2 = 15

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