Answers for "NumPy bitwise_or Code When inputs are numbers"

0

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)
Posted by: Guest on April-29-2022

Code answers related to "NumPy bitwise_or Code When inputs are numbers"

Python Answers by Framework

Browse Popular Code Answers by Language