Bitwise Operator in Python || Numpy || Python
In this we are going to see a basic program of bitwise operator using numpy in Python Programming Language.



import numpy as np

n1 = 6
n2 = 5
 
print ("Input  number1 : ", n1)
print ("Input  number2 : ", n2) 
   
res = np.bitwise_and(n1, n2)
print ("bitwise AND of 5 and 6 : ", res)


#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post